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.
It is very easy to add a depend target that invokes the Ant 'depend' task. Without it, if java class A depends on java class B, and B.java is modified, A.java does not get re-compiled by 'build main project'. The following lines, added to build.xml, easily take care of this problem. I suggest they should be part of build-impl.xml: <target name="-pre-compile" depends="class- depend"/> <target name="class-depend" description="Calculate class dependencies."> <depend srcdir="${src.dir}" destdir="${build.classes.dir}" cache="cachedir" dump="true"/> </target>
Might be an option to include it or not in j2seproject.
<depend> is one possibility, JavaMake is another. Not yet investigated in detail. *** This issue has been marked as a duplicate of 36033 ***
This issue was solved long time ago. Because nobody has reopened it neither added comments, we are verifying/closing it now. If you are still able to reproduce the problem, please reopen. Thanks in advance.