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 - Dependent files do not get compiled
Summary: Dependent files do not get compiled
Status: CLOSED DUPLICATE of bug 36033
Alias: None
Product: projects
Classification: Unclassified
Component: Ant (show other bugs)
Version: 4.x
Hardware: PC Windows ME/2000
: P3 blocker (vote)
Assignee: Jesse Glick
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-21 14:01 UTC by rsivan
Modified: 2006-03-24 10:15 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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