Thank you all,
I can able make it by <antcall>
sukanya
glenn opdycke-hansen wrote:
>
> Use <antcall> (the proper way)
>
> The following test script demonstrates how antcall can take parameters and
> that the timestamp is recomputed.
>
> --glenn
>
> <project name="antcall" default="default">
>
> <target name="default">
>
> <antcall target="doSomethingElse">
>
> </antcall>
>
> <antcall target="doSomethingElse">
>
> </antcall>
>
> </target>
>
> <target name="doSomethingElse">
> <echo message="param1=${param1}"/>
> <tstamp>
> <format property="touch.time" pattern="MM/dd/yyyy hh:mm:ss.SSS aa" />
> </tstamp>
>
> <echo>${touch.time}
> </echo>
> </target>
>
> </project>
>
>
--
View this message in context:
http://www.nabble.com/How-to-set-Dynamic-Property-in-ant-tp18376782p18396429.html
Sent from the Ant - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]