You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by bu...@apache.org on 2002/05/08 00:52:02 UTC
DO NOT REPLY [Bug 8892] New: -
Provide a way to access targets/commandline that ant was called with
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: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>