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: | AntProjectHelper should fire changes in *.xml/*.properties files if they change on disk | ||
---|---|---|---|
Product: | projects | Reporter: | Jesse Glick <jglick> |
Component: | Ant | Assignee: | Jesse Glick <jglick> |
Status: | CLOSED FIXED | ||
Severity: | blocker | CC: | phrebejk |
Priority: | P2 | Keywords: | API |
Version: | 4.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | |
Bug Depends on: | |||
Bug Blocks: | 41535 |
Description
Jesse Glick
2004-04-19 23:56:53 UTC
*** Issue 42419 has been marked as a duplicate of this issue. *** Also metadata should preferably be locked (FileLock) while the data is being modified; probably requires some kind of API change, e.g. antProjectHelper.lockMetadata(); // show nonmodal customizer // ... // nonmodal customizer is closed antProjectHelper.unlockMetadata(); Have working patch for *.properties (not for *.xml). Changes in *.properties should now be fired. committed * Up-To-Date 1.16 ant/project/src/org/netbeans/spi/project/support/ant/AntProjectHelper.java committed * Up-To-Date 1.5 ant/project/src/org/netbeans/spi/project/support/ant/ProjectProperties.java committed * Up-To-Date 1.12 ant/project/test/unit/src/org/netbeans/spi/project/support/ant/AntProjectHelperTest.java added * Up-To-Date 1.1 ant/project/test/unit/src/org/netbeans/spi/project/support/ant/data/project-modified.xml Verified. |