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.
Now you have to add <compile-dependency> and <run-dependency> elements to project.xml to have jars on your classpath. For special cases when you need only compile-dependency and you don't care about run-dependency it should be possible to write only this: <dependency> <code-name-base>org.netbeans.modules.needThis</code-name-base> <build-prerequisite/> <compile-dependency/> </dependency> My case is jellytools test library. It uses classes from IDE but tests are run by system classloader, so I only need to satisfy compile dependencies.
The dep module should have been available in your classpath - but as public packages only, which is incorrect for this kind of situation.
committed Up-To-Date 1.37 nbbuild/antsrc/org/netbeans/nbbuild/ParseProjectXml.java
Verified.
It should also be fixed for friends and public packages BuildException: projectized.xml:35: The module org.netbeans.modules.jellytools is not a friend of platform6\modules\org-netbeans-core.jar projectized.xml:35: The module platform6\modules\org-netbeans-core-windows.jar has no public packages and so cannot be compiled against
Right, forgot that. Also case when JAR has no pub pkgs at all.
committed Up-To-Date 1.38 nbbuild/antsrc/org/netbeans/nbbuild/ParseProjectXml.java
Thanks, it works now.