ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "g d" <cool...@hotmail.com>
Subject Timestamped Files
Date Thu, 27 Sep 2001 22:10:00 GMT
Hey:
I want to create timestamped files.

In the code below, the zip file that gets created has to have a timestamp in 
it. How can I achieve that. Thanks in advance

<?xml version="1.0"? encoding="iso-8859-1"?>
<project name="package" default="package" basedir=".">
	<target name="init">
		</tstamp>
		<property name="dist.dir" value="./dist"/>
	</target>

	<target name="package" depends="init">
	  <zip zipfile="${dist.dir}/package.zip"	basedir="."
       		excludes="${dist.dir}/*,${dist.dir}/**"/>
	</target>

</project>

_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp


Mime
View raw message