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 8892] New: - Provide a way to access targets/commandline that ant was called with
Date Tue, 07 May 2002 22:52:02 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8892>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8892

Provide a way to access targets/commandline that ant was called with

           Summary: Provide a way to access targets/commandline that ant was
                    called with
           Product: Ant
           Version: 1.5Beta1
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: Core
        AssignedTo: ant-dev@jakarta.apache.org
        ReportedBy: wr0ngway@yahoo.com


We have some custom tasks which call ant on other buildfiles.  It would be nice
if we had a way to access the list of targets Ant was called with so that our
task could call the sub-builds with those targets.  Right now we edit ant.bat to
set a system property containing the command line arguments it was called with,
but this breaks when trying to use IDE integrations with ant.  Something as
simple as a method call like project.getCalledTargets() or
project.getCommandLine() would be great.  Having access to the entire
commandline would be better so that arguments like "-silent", etc could also be
passed down to sub builds.

--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message