This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Until today I had openide, openide.lazy, openide.old, etc. each checked out with a sources of openide on a different branch in nb_all and everything worked fine, with recent nbbuild scanning this gets broken as all openides are found and parsed. Certainly buggy behaviour is that it is possible to replace the module definition in ModuleParseList, at least throw build error, that would save me at least two hours. More pleasant would be to put into CP all modules that export org.openide module or let me choose which one I want.
I will throw a build error if there is a duplicate definition. Do not plan to do anything fancier. If you want to keep multiple versions of a module in one tree, and you are using Unix, I would suggest you use a symlink farm. Just do: mkdir ../variant cd ../variant cvs co -rbranch openide ln -sv ../normal/* . There is no equivalent for Windows. If there is a persistent need for this kind of functionality, I think it wouldn't be hard to permit an optional Ant property that would just give a list of dirs to exclude from scanning, so you could temporarily add to .antrc e.g. -Dnetbeans.excluded.modules=openide.lazy
Exception is fine.
committed * Up-To-Date 1.20 apisupport/project/src/org/netbeans/modules/apisupport/project/ModuleList.java committed * Up-To-Date 1.4 nbbuild/antsrc/org/netbeans/nbbuild/ModuleListParser.java
The fix seems to be too "correct". I am getting following failure: build-init: Scanning for modules in /home/jarda/src/nb_all [nbmerge] Failed to build target: all-openide/util BUILD FAILED /home/jarda/src/nb_all/nbbuild/build.xml:3010: The following error occurred while executing this line: /home/jarda/src/nb_all/nbbuild/build.xml:3005: The following error occurred while executing this line: /home/jarda/src/nb_all/nbbuild/build.xml:253: The following error occurred while executing this line: /home/jarda/src/nb_all/nbbuild/templates/projectized.xml:23: java.io.IOException: Duplicated module org.netbeans.modules.java.j2seplatform: found in /home/jarda/src/nb_all/nbbuild/netbeans/ide5/modules/org-netbeans-modules-java-j2seplatform.jar and /home/jarda/src/nb_all/nbbuild/netbeans/extra/modules/org-netbeans-modules-java-j2seplatform.jar while my repository is: ant/ antlr/ apisupport/ apisupportx/ applet/ archivesupport/ autoupdate/ a11y/ beans/ classclosure/ classfile/ clazz/ contrib/ corba/ core/ cpp/ cpplite/ CVS/ db/ debuggercore/ debuggerjpda/ debuggertools/ diff/ editor/ emacs/ extbrowser/ externaleditor/ filecopy/ form/ freestylebrowser/ html/ httpserver/ icebrowser/ ide/ image/ innertesters/ installer/ itutor/ i18n/ jarpackager/ jasm/ java/ javacvs/ javadoc/ javaembeddedserver/ jellytools/ jemmy/ jemmysupport/ jini/ jndi/ jpython/ junit/ j2ee/ j2eeserver/ lexer/ libs/ logger/ makefile/ mdr/ metrics/ monitor/ multicompile/ nbbuild/ netbrowser/ objectbrowser/ openide/ openidex/ performance/ projects/ properties/ refactoring/ remotefs/ rmi/ scripting/ serialversion/ schema2beans/ sim/ spellchecker/ sysprops/ tasklist/ testtools/ text/ tomcatint/ treefs/ usersguide/ utilities/ vcscore/ vcscvs/ vcsgeneric/ web/ webl/ websvc/ workspaceswitcher/ xml/ xmlbeans/ xtest/ According to mkleint the suspects are rmi and registry modules.
The error is correct; the rmi module was broken, which I already fixed. I will also improve the error message to be more helpful.