ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 29326] New: - macrodef/task warning on
Date Tue, 01 Jun 2004 17:11:18 GMT
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: dev@ant.apache.org
        ReportedBy: mandar_amdekar@hotmail.com
                CC: mandar_amdekar@hotmail.com


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: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message