source: osm/applications/editors/josm/plugins/smed2/jicons/build.xml@ 30398

Last change on this file since 30398 was 30398, checked in by malcolmh, 11 years ago

jrender test

File size: 1.6 KB
Line 
1<project name="jicons" default="dist" basedir=".">
2 <property name="src" location="src"/>
3 <property name="build" location="build"/>
4 <property name="jarfile" location="./jicons.jar"/>
5 <property name="ant.build.javac.target" value="1.7"/>
6 <property name="ant.build.javac.source" value="1.7"/>
7 <property name="batik.dir" value="/usr/local/bin/batik-1.7/"/>
8 <path id="classpath">
9 <fileset dir="${batik.dir}" includes="**/batik*.jar"/>
10 </path>
11
12 <target name="init">
13 <mkdir dir="${build}"/>
14 </target>
15
16 <target name="compile" depends="init" description="compile the source " >
17 <javac includeantruntime="false" srcdir="${src}" destdir="${build}" classpathref="classpath" encoding="UTF-8" />
18 </target>
19
20 <target name="dist" depends="compile" description="generate the distribution" >
21 <jar jarfile="${jarfile}" basedir="${build}" >
22 <manifest>
23 <attribute name="Main-Class" value="jicons.Jicons"/>
24 <attribute name="Class-Path" value="$jarfile"/>
25 </manifest>
26 <zipgroupfileset dir="${batik.dir}" includes="**/batik-svggen.jar" />
27 <zipgroupfileset dir="${batik.dir}" includes="**/batik-dom.jar" />
28 <zipgroupfileset dir="${batik.dir}" includes="**/batik-util.jar" />
29 <zipgroupfileset dir="${batik.dir}" includes="**/batik-awt-util.jar" />
30 <zipgroupfileset dir="${batik.dir}" includes="**/batik-ext.jar" />
31 <zipgroupfileset dir="${batik.dir}" includes="**/batik-xml.jar" />
32 </jar>
33 </target>
34
35 <target name="clean" description="clean up" >
36 <delete dir="${build}"/>
37 <delete file="${jarfile}"/>
38 </target>
39</project>
Note: See TracBrowser for help on using the repository browser.