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=41320>.
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=41320

           Summary: Warning 'Trying to override old definition of task ...'
                    is confusing
           Product: Ant
           Version: 1.7.0
          Platform: Other
        OS/Version: other
            Status: NEW
          Severity: trivial
          Priority: P2
         Component: Core tasks
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]


The warning 'Trying to override old definition of task my-task' is triggered for
example by the following code :
<project>
  <macrodef name="my-task">
    <sequential>
      <echo>first</echo>
    </sequential>
  </macrodef>
  <macrodef name="my-task">
    <sequential>
      <echo>second</echo>
    </sequential>
  </macrodef>
  </my-task>
</project>

The message could maybe be something like 'Overriding previous definition of
task my-task' instead : the phrasing 'Trying to' seems to suggest that the
overriding fails whereas the task does get overriden.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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

Reply via email to