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

Parameter passing into a target

           Summary: Parameter passing into a target
           Product: Ant
           Version: 1.5.1
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Core tasks
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


hello,
I would suggest the following enhancement for the target task.
I would like to pass some parameters into a target task like this :
<target name="Integration" depends="Build">
    <property name="version" value="I${DSTAMP}"></property>
</target>
<target name="Build" parameter="version">
   <zip destfile="dummy.zip" > 
      <zipfileset dir="dummy" prefix="${version"/>
   </zip>       
</target>
This could be useful to set properties locally toa target and to pass the 
content of theses properties into anaother task.
regards
Xavier

Reply via email to