#

Ant Zeitstempel

Notiz: Zeitstempel werden in Ant durch das <tstamp> Tag definiert:

<target name="jar">
	<tstamp>
	   <format property="version.timestamp" pattern="yyyyMMdd_HHmmss" />
	</tstamp>
	<jar jarfile="${jar-destination}/${jar-name}-${version.timestamp}.jar">
		<fileset dir="${classes}" includes="**"/>
		<manifest>
			<attribute name="Version" value="${version.timestamp}" />
		</manifest>
	</jar>
</target>
Tags:, , ,

Leave a Reply »»

Note: All comments are manually approved to avoid spam. So if your comment doesn't appear immediately, that's ok. Have patience, it can take some days until I have the time to approve my comments.