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.
I am working with Graal sources http://hg.openjdk.java.net/graal/graal from NetBeans IDE and it is a pain. They can modular system with dependencies between projects, but are using classical J2SE Ant project type (generated from some meta info by) $ mx.sh netbeansinit Even when things are up-to-date any action on the project (build, run) takes enormously long as it calls into all dependant projects. We have eliminated this in NetBeans own projects by skipping execution on projects that seem to be built. I believe I can do it with: <target name="-post-init"> <pathconvert property="comma.javac.classpath" pathsep=","> <path path="${javac.classpath}"/> </pathconvert> <restrict id="missing.javac.classpath"> <filelist dir="${basedir}" files="${comma.javac.classpath}" /> <not><exists/></not> </restrict> <property name="missing.javac.classpath" refid="missing.javac.classpath"/> <condition property="no.dependencies" value="true"> <equals arg1="${missing.javac.classpath}" arg2=""/> </condition> <property name="no.dependencies" value="false"/> </target> I believe this should be the default for all J2SE projects. In case somebody really wants deep build (only build, I don't think deep clean makes any sense), there could be "Build with Dependencies" action like on Maven projects that would call ant build -Dno.dependencies=false overriding any automatic checks.
Discussed with Tomáš and also on Graal mailing list: http://mail.openjdk.java.net/pipermail/graal-dev/2015-March/002957.html
I will take a care.
I fixed the problem in a different way.