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.

Bug 49356

Summary: Dependent files do not get compiled
Product: projects Reporter: rsivan <rsivan>
Component: AntAssignee: Jesse Glick <jglick>
Status: CLOSED DUPLICATE    
Severity: blocker    
Priority: P3    
Version: 4.x   
Hardware: PC   
OS: Windows ME/2000   
Issue Type: DEFECT Exception Reporter:

Description rsivan 2004-09-21 14:01:00 UTC
The IDE on 4.0 is consistently missing 
compilation of source files which should be 
affected by a change in a referred class.
Even in the most trivial case of changing a 
superclass I often don't get subclasses compiled.
Comment 1 pfelenda 2004-09-27 13:51:06 UTC
Reassigning to ant module.
Comment 2 Jesse Glick 2004-09-27 16:33:20 UTC
If a file X.java is newer than the corresponding X.class, or X.class
is missing, NB asks Ant to compile it using <javac> thus javac. Javac
will compile any out of date files it finds that are referred to
recursively from the selected files. But if A.java depends on B.java,
and you compile both and then modify B.java, A.java will not
automatically be recompiled. To do so requires some additional tool to
check for inverse dependencies. Adding such a tool (e.g. JavaMake, or
Ant's <depend>) has been considered, but is not done for 4.0.

*** This issue has been marked as a duplicate of 36033 ***
Comment 3 Marian Mirilovic 2005-07-12 10:12:44 UTC
closed