ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "glenn opdycke-hansen" <>
Subject Re: How to have Dynamic Propert in ant
Date Thu, 10 Jul 2008 21:23:34 GMT
Use <antcall> (the proper way)

The following test script demonstrates how antcall can take parameters and
that the timestamp is recomputed.


<project name="antcall" default="default">

 <target name="default">

  <antcall target="doSomethingElse">
   <param name="param1" value="valueA"/>

  <antcall target="doSomethingElse">
   <param name="param1" value="valueB"/>


 <target name="doSomethingElse">
  <echo message="param1=${param1}"/>
   <format property="touch.time" pattern="MM/dd/yyyy hh:mm:ss.SSS aa" />



  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message