Mercurial > mxd2map
changeset 193:8ced5ff9113d
Added target "jar-norevision" to create a jar file without the revision hash.
author | raimund renkert <raimund.renkert@intevation.de> |
---|---|
date | Wed, 20 Jul 2011 16:17:16 +0200 |
parents | 0dc34dcdaedc |
children | 216105271856 |
files | ChangeLog build.xml |
diffstat | 2 files changed, 18 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog Wed Jul 20 16:06:33 2011 +0200 +++ b/ChangeLog Wed Jul 20 16:17:16 2011 +0200 @@ -1,3 +1,9 @@ +2011-07-20 Raimund Renkert <raimund.renkert@intevation.de> + + * build.xml: + Added target "jar-norevision" to create a jar file without the + revision hash. + 2011-07-20 Raimund Renkert <raimund.renkert@intevation.de> * src/java/de/intevation/mxd/writer/SymbolWriter.java:
--- a/build.xml Wed Jul 20 16:06:33 2011 +0200 +++ b/build.xml Wed Jul 20 16:17:16 2011 +0200 @@ -32,7 +32,7 @@ </exec> </target> - <target name="init" depends="revision"> + <target name="init"> <!-- create the time stamp --> <tstamp/> <!-- create the build directory structure used by compile --> @@ -59,7 +59,7 @@ </copy> </target> - <target name="jar" depends="compile"> + <target name="jar" depends="compile,revision"> <mkdir dir="${dist.dir}" /> <jar jarfile="${dist.dir}/mxd2map-${hash}.jar" compress="true" basedir="${class.dir}"> <manifest> @@ -69,6 +69,16 @@ </jar> </target> + <target name="jar-norevision" depends="compile"> + <mkdir dir="${dist.dir}" /> + <jar jarfile="${dist.dir}/mxd2map.jar" compress="true" basedir="${class.dir}"> + <manifest> + <attribute name="Main-Class" value="de.intevation.mxd.Converter"/> + <attribute name="Class-Path" value="lib/log4j-1.2.16.jar lib/mapscript.jar lib/jargs.jar"/> + </manifest> + </jar> + </target> + <target name="usage"> <echo message="Execute 'ant -projecthelp' for the build file help"/> <echo message="Execute 'ant -help' for Ant help"/>