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: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


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:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to