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 20366 - Template Sample.xml has comments which gets broken after modified
Summary: Template Sample.xml has comments which gets broken after modified
Status: CLOSED FIXED
Alias: None
Product: projects
Classification: Unclassified
Component: Ant (show other bugs)
Version: 3.x
Hardware: All All
: P4 blocker (vote)
Assignee: Jesse Glick
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-02-08 14:05 UTC by Milan Kubec
Modified: 2003-06-30 14:47 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments
diff to patch Sample template if desired (1.27 KB, patch)
2002-02-08 14:08 UTC, Milan Kubec
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Milan Kubec 2002-02-08 14:05:38 UTC
Template Sample.xml has comments:
<!--
    text
    text
    text
-->
afte user touch the script from Explorer, comment get broken to:
<!--    text    text    text    -->
Comment should be written as:
<!-- -->
<!-- -->
<!-- -->
and then nothing would be changed.
Comment 1 Milan Kubec 2002-02-08 14:08:10 UTC
Created attachment 4634 [details]
diff to patch Sample template if desired
Comment 2 Jesse Glick 2002-02-11 11:59:25 UTC
Fixing, but this is once again ultimately a problem with not using
real 2-way XML support. It is an unfixable bug that comments are
reformatted as they are.

committed   * Up-To-Date  1.3        
ant/src/org/apache/tools/ant/module/resources/Project.xml_
committed   * Up-To-Date  1.7        
ant/src/org/apache/tools/ant/module/resources/SampleProject.xml_
Comment 3 Quality Engineering 2003-06-30 14:44:06 UTC
Resolved for 3.3.x or earlier, no new info since then -> closing.

Comment 4 Quality Engineering 2003-06-30 14:47:38 UTC
Resolved for 3.3.x or earlier, no new info since then -> closing.