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: | Do not disable Compile action | ||
---|---|---|---|
Product: | java | Reporter: | ulfzibis <ulfzibis> |
Component: | Source | Assignee: | Tomas Zezula <tzezula> |
Status: | NEW --- | ||
Severity: | normal | CC: | jlahoda, tzezula |
Priority: | P3 | ||
Version: | 8.0 | ||
Hardware: | PC | ||
OS: | Linux | ||
Issue Type: | ENHANCEMENT | Exception Reporter: | |
Bug Depends on: | |||
Bug Blocks: | 246439 |
Description
ulfzibis
2014-08-15 22:29:11 UTC
Unfortunately it's not easy. When Compile On Save is enabled it copies the classes from caches into the build/classes before actual run. So the compiled file will be overwritten by CoS if it was modified from last run. As far as I remember there was long discussion when CoS was introduces which actions should be enabled and the conclusion was that only "Clean & Build" is save as it deletes everything and compiles everything. The enabling has to be done in action provider (java/project) but I don't believe it's save to do it. Added Honza L. to cc as hw knows most about CoS project actions integration. |