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

Summary: Template Sample.xml has comments which gets broken after modified
Product: projects Reporter: Milan Kubec <mkubec>
Component: AntAssignee: Jesse Glick <jglick>
Status: CLOSED FIXED    
Severity: blocker    
Priority: P4    
Version: 3.x   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:
Attachments: diff to patch Sample template if desired

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.