ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: <tstamp> task error
Date Tue, 13 Jan 2004 07:32:00 GMT
On Mon, 12 Jan 2004, Luis Conelly <Luis.Conelly@gnf.com> wrote:

>     <target name="initFormatted" 
>             description="Initializes Time /Date feature Formatted">
>       <tstamp>
>         <format property="time.formatted" pattern="MM/dd/yyyy hh:mm aa"
>                 unit="hour"/> 
>       </tstamp> 
>     </target>
>
>     <target name="updateAll">
>         <!-- other stuff here-->
>         <antcall target="updateCompiled">
>             <param name="tbf" value="${time.formatted}"/>
>         </antcall>
>         <!-- other stuff here-->
>     </target>

updateAll doesn't depend on the initFormatted target, so the property
time.formatted doesn't get set at all.

Stefan

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


Mime
View raw message