source: osm/applications/editors/josm/plugins/smed2/jsearch/build.xml@ 30408

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

render update control

File size: 1003 bytes
Line 
1<project name="jsearch" default="dist" basedir=".">
2 <property name="src" location="src"/>
3 <property name="build" location="build"/>
4 <property name="jarfile" location="./jsearch.jar"/>
5 <property name="ant.build.javac.target" value="1.7"/>
6 <property name="ant.build.javac.source" value="1.7"/>
7
8 <target name="init">
9 <mkdir dir="${build}"/>
10 </target>
11
12 <target name="compile" depends="init" description="compile the source " >
13 <javac includeantruntime="false" srcdir="${src}" destdir="${build}" encoding="UTF-8" />
14 </target>
15
16 <target name="dist" depends="compile" description="generate the distribution" >
17 <jar jarfile="${jarfile}" basedir="${build}" >
18 <manifest>
19 <attribute name="Main-Class" value="jsearch.Jsearch"/>
20 <attribute name="Class-Path" value="$jarfile"/>
21 </manifest>
22 </jar>
23 </target>
24
25 <target name="clean" description="clean up" >
26 <delete dir="${build}"/>
27 <delete file="${jarfile}"/>
28 </target>
29</project>
Note: See TracBrowser for help on using the repository browser.