Mercurial > mxd2map
changeset 178:d10d5f560b1a
Renamed executable jar file.
author | raimund renkert <raimund.renkert@intevation.de> |
---|---|
date | Thu, 07 Jul 2011 16:33:21 +0200 |
parents | 9fd61f4ac0e3 |
children | f3a91cd7440b |
files | ChangeLog build.xml |
diffstat | 2 files changed, 14 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog Thu Jul 07 15:05:08 2011 +0200 +++ b/ChangeLog Thu Jul 07 16:33:21 2011 +0200 @@ -1,3 +1,8 @@ +2011-07-07 Raimund Renkert <raimund.renkert@intevation.de> + + * build.xml: + Renamed executable jar file. + 2011-07-07 Raimund Renkert <raimund.renkert@intevation.de> * src/java/de/intevation/mxd/writer/LineStyleWriter.java:
--- a/build.xml Thu Jul 07 15:05:08 2011 +0200 +++ b/build.xml Thu Jul 07 16:33:21 2011 +0200 @@ -25,7 +25,14 @@ <!-- ========================================= --> <!-- private targets --> <!-- ========================================= --> - <target name="init"> + <target name="revision"> + <property name="current" value="parent"/> + <exec executable="hg" outputproperty="hash"> + <arg line="${current} --template '{node|short}'"/> + </exec> + </target> + + <target name="init" depends="revision"> <!-- create the time stamp --> <tstamp/> <!-- create the build directory structure used by compile --> @@ -54,7 +61,7 @@ <target name="jar" depends="compile"> <mkdir dir="${dist.dir}" /> - <jar jarfile="${dist.dir}/${sample.dir}.jar" compress="true" basedir="${class.dir}"> + <jar jarfile="${dist.dir}/mxd2map-${hash}.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/arcobjects.jar lib/jargs.jar"/>