Changeset 31659 in osm for applications/editors/josm/plugins/seachart/js57toosm/build.xml
- Timestamp:
- 2015-10-21T11:34:01+02:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/seachart/js57toosm/build.xml
r31598 r31659 3 3 <property name="build" location="build"/> 4 4 <property name="jarfile" location="./js57toosm.jar"/> 5 <property name="ant.build.javac.target" value="1.7"/>6 <property name="ant.build.javac.source" value="1.7"/>7 5 <property name="lang.dir" value="/usr/local/bin/commons-lang3-3.4/"/> 8 6 <path id="classpath"> 7 <fileset dir="${lang.dir}" includes="**/commons-lang3-3.4.jar"/> 8 </path> 9 9 10 <target name="init"> 10 11 <mkdir dir="${build}"/> 11 12 </target> 12 13 <target name="compile" depends="init" description="compile the source ">14 <javac includeantruntime="false" srcdir="${src}" destdir="${build}" encoding="UTF-8"/> 13 14 <target name="compile" depends="init" description="compile the source"> 15 <javac includeantruntime="false" srcdir="${src}" destdir="${build}" classpathref="classpath" encoding="UTF-8" /> 15 16 </target> 16 17 <target name="dist" depends="compile" description="generate the distribution" >17 18 <target name="dist" depends="compile" description="generate the distribution"> 18 19 <jar jarfile="${jarfile}" basedir="${build}" > 19 20 <manifest> 20 21 <attribute name="Main-Class" value="js57toosm.Js57toosm"/> 21 <attribute name="Class-Path" value="$ jarfile"/>22 <attribute name="Class-Path" value="${jarfile}"/> 22 23 </manifest> 23 24 <zipgroupfileset dir="${lang.dir}" includes="**/commons-lang3-3.4.jar" /> 24 25 </jar> 25 26 </target> 26 27 <target name="clean" description="clean up" >27 28 <target name="clean" description="clean up"> 28 29 <delete dir="${build}"/> 29 30 <delete file="${jarfile}"/>
Note:
See TracChangeset
for help on using the changeset viewer.
