ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rob van Oostrum <rob.vanoost...@blastradius.com>
Subject RE: how to timestamp a copied file using ANT
Date Mon, 22 Mar 2004 21:34:38 GMT
look at <tstamp> and append the property value to the target filename ...

> -----Original Message-----
> From: Shailesh Sharma [mailto:shailesh_scea@yahoo.com]
> Sent: Monday, March 22, 2004 4:08 PM
> To: Ant Users List
> Subject: how to timestamp a copied file using ANT
> 
> 
> 
> Hi,
> 
> Iam copying a file from one directory to another after my 
> build is about to completed.
> 
>  
> 
> <target name="xx">
> 
> ----doing something here......
> 
>     <copy todir="../last-deployed-testnet">
>            <fileset dir="../current-testnet" includes="**" />
>     </copy>
> 
> </target>
> 
>  
> 
> But apart from doing the copy, i also wanted to add a 
> timestamp to the copied file .............
> 
> Does somebody know how to do this....Please advise.
> 
>  
> 
> Thanks, shailesh
> 
> 
> Do you Yahoo!?
> Yahoo! Finance Tax Center - File online. File on time.
> 

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


Mime
View raw message