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 70596 - Run File does not check dependencies
Summary: Run File does not check dependencies
Status: VERIFIED DUPLICATE of bug 36033
Alias: None
Product: java
Classification: Unclassified
Component: Project (show other bugs)
Version: 5.x
Hardware: Other Windows XP
: P3 blocker (vote)
Assignee: Tomas Zezula
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-19 19:11 UTC by tkellerer
Modified: 2006-06-09 14:55 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 tkellerer 2005-12-19 19:11:04 UTC
When using "Run File" (Shift-F6) to run a class with a main method, the compiler
does not do any dependency checking, which means that classes that are modified
and used by the main class are not re-compiled leading to incorrect behaviour
when running the main class
Comment 1 Tomas Zezula 2006-01-04 13:57:17 UTC
It has two parts.
First, it works fine on the javac layer. If you run a single file which is
modified and it depends on the other modified files in the single project it
works fine, the javac does the dependency checking.
If the dependent source is from other project, it would require an incremental
build done by ant, see issue #36033.
If the file, which is started using run single, is not modified, the javac is
not started and no compilation is done, it is already reported in the issue #52749

I've closed the issue as duplicate of #36033 since it is s superset of #52749.

*** This issue has been marked as a duplicate of 36033 ***
Comment 2 Marian Mirilovic 2006-06-09 14:55:45 UTC
verified duplicate