Bug 54458 - formatter swallows text when attribute values include -->
Summary: formatter swallows text when attribute values include -->
Status: VERIFIED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Ant (show other bugs)
Version: 3.0   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 3.0 M9   Edit
Assignee: Kevin Barnes CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 56716 (view as bug list)
Depends on: 51215
Blocks:
  Show dependency tree
 
Reported: 2004-03-11 09:03 EST by John-Mason P. Shackelford CLA
Modified: 2004-04-05 11:26 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description John-Mason P. Shackelford CLA 2004-03-11 09:03:21 EST
When I format a build file which has elements that have a > inside an attribute
value, the formatter mangles the build file.

I believe at least one of the ant committers likes to say: 
<target description="--> my description"/> so we will want to fix this.
Comment 1 John-Mason P. Shackelford CLA 2004-03-11 09:04:46 EST
This is actually a bug in the partition scanner.
Comment 2 Darin Swanson CLA 2004-03-11 11:03:01 EST
Isn't this a duplicate of bug 51215? Or is there more work for this bug when 
51215 is fixed?
Comment 3 John-Mason P. Shackelford CLA 2004-03-11 11:46:46 EST
Nothing more to do after the partion scanner is fixed. I wanted to enter the 
bug since: (1) this is the way a user is likely to perceive the bug and (2) 
that the problem appears in both the formatter and syntax highlighting may 
impact how the bug is fixed. See discussion around bug 51217.

Comment 4 Darin Swanson CLA 2004-03-30 11:49:30 EST
*** Bug 56716 has been marked as a duplicate of this bug. ***
Comment 5 John-Mason P. Shackelford CLA 2004-04-03 23:19:12 EST
The patch submitted for bug 51215 should resolve this issue.
Comment 6 Darin Swanson CLA 2004-04-05 01:25:18 EDT
Test case for formatting (as well as in the duplicate bug 56716):

<project name="54458" default="main" basedir=".">
	<!--
       ===================================================================
         Main target - runs dist-lite by default
       ===================================================================
  -->
  <target name="main"
          description="--> creates a minimum distribution in ./dist"
          depends="dist-lite"/>
	<target name="dist-lite">
		<echo>dist-list</echo>
	</target>
</project>
Comment 7 Kevin Barnes CLA 2004-04-05 11:02:01 EDT
verified, Darins please update build notes.
Comment 8 Darin Swanson CLA 2004-04-05 11:26:20 EDT
Thanks build notes updated.