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 2003/09/12 00:03:33 UTC

DO NOT REPLY [Bug 23119] New: - Pass Ant parameters from target

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

Pass Ant parameters from target

           Summary: Pass Ant parameters from target
           Product: Ant
           Version: unspecified
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: Other
        AssignedTo: dev@ant.apache.org
        ReportedBy: saden1@yahoo.com


It seems that it is not possible to pass arguments to Ant from within a target.
Something like this:

<target name="doSomething" description="example" >    
  <antarg line="-verbose"/>
   ....do something here
</target>

or

<target name="doSomething" description="example" antarg="-verbose">    
   ....do something here
</target>


All I want is the ability to make some targets be verbose.

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