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.
Summary: | Dependent files do not get compiled | ||
---|---|---|---|
Product: | projects | Reporter: | rsivan <rsivan> |
Component: | Ant | Assignee: | 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
Reassigning to ant module. 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 *** closed |