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 196192

Summary: Clean & Build module should not reload it
Product: apisupport Reporter: Jesse Glick <jglick>
Component: HarnessAssignee: Jesse Glick <jglick>
Status: RESOLVED FIXED    
Severity: normal CC: gregersen
Priority: P1    
Version: 7.0   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:
Bug Depends on:    
Bug Blocks: 195074    

Description Jesse Glick 2011-03-02 19:50:05 UTC
The reload target in the Ant-based harness should do nearly the equivalent of the current clean target first, except it should not delete ${cluster}/config/Modules/${code.name.base.dashes}.xml (may let it be overwritten). This should prevent ModuleList from detecting the module removal in the middle of the build (due to native file listening?).
Comment 1 Jesse Glick 2011-03-03 00:22:39 UTC
Slightly different approach. Leave the reload target alone, and just make the more general fix of ensuring that Clean & Build does not cause the config file to be temporarily deleted. Useful if you just rebuild a module that happens to be part of a running app.
Comment 2 Jesse Glick 2011-03-03 00:23:22 UTC
core-main #9e9a6cd17821
Comment 3 Quality Engineering 2011-03-04 05:45:58 UTC
Integrated into 'main-golden', will be available in build *201103040000* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/9e9a6cd17821
User: Jesse Glick <jglick@netbeans.org>
Log: #196192: Clean & Build module should not reload it