comparison build.xml @ 178:d10d5f560b1a

Renamed executable jar file.
author raimund renkert <raimund.renkert@intevation.de>
date Thu, 07 Jul 2011 16:33:21 +0200
parents 707f13cfba74
children 8ced5ff9113d
comparison
equal deleted inserted replaced
177:9fd61f4ac0e3 178:d10d5f560b1a
23 </path> 23 </path>
24 24
25 <!-- ========================================= --> 25 <!-- ========================================= -->
26 <!-- private targets --> 26 <!-- private targets -->
27 <!-- ========================================= --> 27 <!-- ========================================= -->
28 <target name="init"> 28 <target name="revision">
29 <property name="current" value="parent"/>
30 <exec executable="hg" outputproperty="hash">
31 <arg line="${current} --template '{node|short}'"/>
32 </exec>
33 </target>
34
35 <target name="init" depends="revision">
29 <!-- create the time stamp --> 36 <!-- create the time stamp -->
30 <tstamp/> 37 <tstamp/>
31 <!-- create the build directory structure used by compile --> 38 <!-- create the build directory structure used by compile -->
32 <mkdir dir="${build.dir}"/> 39 <mkdir dir="${build.dir}"/>
33 <mkdir dir="${class.dir}"/> 40 <mkdir dir="${class.dir}"/>
52 </copy> 59 </copy>
53 </target> 60 </target>
54 61
55 <target name="jar" depends="compile"> 62 <target name="jar" depends="compile">
56 <mkdir dir="${dist.dir}" /> 63 <mkdir dir="${dist.dir}" />
57 <jar jarfile="${dist.dir}/${sample.dir}.jar" compress="true" basedir="${class.dir}"> 64 <jar jarfile="${dist.dir}/mxd2map-${hash}.jar" compress="true" basedir="${class.dir}">
58 <manifest> 65 <manifest>
59 <attribute name="Main-Class" value="de.intevation.mxd.Converter"/> 66 <attribute name="Main-Class" value="de.intevation.mxd.Converter"/>
60 <attribute name="Class-Path" value="lib/log4j-1.2.16.jar lib/mapscript.jar lib/arcobjects.jar lib/jargs.jar"/> 67 <attribute name="Class-Path" value="lib/log4j-1.2.16.jar lib/mapscript.jar lib/arcobjects.jar lib/jargs.jar"/>
61 </manifest> 68 </manifest>
62 </jar> 69 </jar>
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)