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

macrodef/task warning on 

           Summary: macrodef/task warning on
           Product: Ant
           Version: 1.6.1
          Platform: All
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Core tasks
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]
                CC: [EMAIL PROTECTED]


I am seeing a benign warning message 'Trying to override old definition of task
<taskname>' under the following circumstances.
1. We have many individual build.xml files (over 25).
2. We need a shared target library and have one. Most build.xml files import the
shared target library. The target library also define macros (using macrodef).
3. Now even when inheritAll is set to false in <ant> tasks, I keep seeing the
above message.

I have a couple of suggestions:

Either the macrodef and tasks have to be in each individual <ant> context (like
properties, targets).

OR

If the macrodef/tasks are going to remain global, there should be a way to
suppress this override message.

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

Reply via email to