ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 44175] - "–projecthelp" target prints out duplicate targets from build.xml's imported files.
Date Tue, 08 Jan 2008 09:59:34 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=44175>.
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=44175


jan@materne.de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID




------- Additional Comments From jan@materne.de  2008-01-08 01:59 -------
This is intented behaviour:

If a buildfile is imported the imported targets are present with two names:
- {targetname}
- {projectname}.{targetname}

This is needed for overriding targets with "super"-call:

<project name="a">
    <import file="b.xml"/>
    <target name="justA"/>
    <target name="overwrite" depends="b.overwrite"/>
</project>
<project>
    <target name="overwrite"/>
    <target name="justB"/>
</project>

ant -projecthelp
  justA
  overwrite
  b.overwrite
  justB
  b.justB

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

Mime
View raw message