Community
Participate
Working Groups
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.
This is actually a bug in the partition scanner.
Isn't this a duplicate of bug 51215? Or is there more work for this bug when 51215 is fixed?
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.
*** Bug 56716 has been marked as a duplicate of this bug. ***
The patch submitted for bug 51215 should resolve this issue.
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>
verified, Darins please update build notes.
Thanks build notes updated.