DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=27722>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=27722

Project description contains target description

           Summary: Project description contains target description
           Product: Ant
           Version: 1.6.1
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Core
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


A thread discussing this is has been on the ant user list for the past few days.
Suppose a target has a <description> child element. Then running 'ant
-projecthelp' will show that description as part of the project description, not
as part of the target description. Note that <description> is a valid child
element of target. I have two patches to fix this:

1. In org.apache.tools.ant.types.Description.java, it explicitly looks through
ALL targets for <description> elements and adds any text contained in those
elements to the project description. The patch limits this to the implicit
target only.

2. In org.apache.tools.ant.Target.java, the description can only be set as an
attribute. The patch appends any text contained in child <description> elements
to any text contained in the description attribute.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to