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] New: - "–projecthelp" target prints out duplicate targets from build.xml's imported files.
Date Mon, 07 Jan 2008 13:41:22 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

           Summary: "–projecthelp" target prints out duplicate targets from
                    build.xml's imported files.
           Product: Ant
           Version: 1.7.0
          Platform: Other
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Build Process
        AssignedTo: notifications@ant.apache.org
        ReportedBy: pradeepkpc@yahoo.com
                CC: pradeepkpc@yahoo.com


"–projecthelp" target is printing out duplicate targets from build.xml's 
imported files in Ant 1.7 version.

Provided if a build.xml contains a number of target and a imported build file, 
which in turn contains few target. Then on running "-projecthelp" target 
displays, all the targets in build.xml file and the duplicate targets from 
imported files, in "imported_file_name.target" format and the actauls target 
from imported file.

For instance: 
If build.xml file contains targets "clean" and "build". And the file 
com_database.xml contains target "database" and "foreignkeycheck". 

Now if com_database.xml has been imported by build.xml, then on running "-
projecthelp" target prints the following output.

Main targets:

clean
build
database
foreignkeycheck
com_database.database
com_database.foreignkeycheck

This is happening in Ant 1.7.0. However this is working fine in Ant 1.6 
versions.

Thanks,
Pradeep

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