source: osm/applications/editors/josm/plugins/waypoints/build.xml@ 4017

Last change on this file since 4017 was 3788, checked in by ulf, 17 years ago

add remaining plugins to the global build

File size: 1.0 KB
Line 
1<project name="waypoints" default="build" basedir=".">
2
3 <!-- point to your JOSM directory -->
4 <property name="josm" location="../../core/dist/josm-custom.jar" />
5
6
7
8 <target name="init">
9 <mkdir dir="build"></mkdir>
10 <mkdir dir="dist"></mkdir>
11 </target>
12
13 <target name="compile" depends="init">
14 <javac srcdir="src" classpath="${josm}" destdir="build" debug="true">
15 <include name="**/*.java" />
16 </javac>
17 </target>
18
19 <target name="build" depends="compile">
20 <!--
21 <copy todir="build/images">
22 <fileset dir="images"></fileset>
23 </copy>
24 -->
25 <jar destfile="dist/waypoints.jar" basedir="build">
26 <manifest>
27 <attribute name="Plugin-Class" value="waypoints.WaypointPlugin" />
28 <attribute name="Plugin-Description" value="Automatic conversion of waypoints in a GPX file to OSM nodes." />
29 </manifest>
30 </jar>
31 </target>
32
33 <target name="clean">
34 <delete dir="build" />
35 <delete dir="dist" />
36 </target>
37
38 <target name="install" depends="build">
39 <copy file="dist/waypoints.jar" todir="${user.home}/.josm/plugins"/>
40 </target>
41
42</project>
Note: See TracBrowser for help on using the repository browser.