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: | Selecting a new default target cause build.xml to be re-written with inlines expanded | ||
---|---|---|---|
Product: | projects | Reporter: | bigfoot <bigfoot> |
Component: | Ant | Assignee: | Jesse Glick <jglick> |
Status: | VERIFIED WONTFIX | ||
Severity: | blocker | Keywords: | UI |
Priority: | P3 | ||
Version: | 3.x | ||
Hardware: | All | ||
OS: | All | ||
URL: | http://ant.netbeans.org/faq.html#xml-reformatting | ||
Issue Type: | DEFECT | Exception Reporter: | |
Bug Depends on: | 42859 | ||
Bug Blocks: |
Description
bigfoot
2004-01-16 18:52:08 UTC
See also issue #21728, and the Ant FAQ (see URL). Issue #20532 is about creating a stable API to manipulate *any* XML files structurally without loss of formatting. Unfortunately it seems there is no one working on this (for a long time now), and it is not a good idea to try to implement it in the Ant module. While this might be fixed, it seems more likely that all the structural UI would simply be made read-only. Downgrading to P3 since the FAQ item exists and the issue has been true for the whole lifetime of the Ant module. If you version-control scripts, don't use the property sheet / Explorer nodes to make edits; use the text editor (there is a code completion module available which is essentially as powerful anyway). Not sure if retaining entity includes is possible. Probably. Note that Ant 1.6 supports <import> which will not be expanded in this way and is also more powerful. Leaving open for new suggestions, esp. re. warning the user about possible reformatting before continuing. *** Issue 40714 has been marked as a duplicate of this issue. *** Will remove editing ability in D. closed |