Changeset 5147 in osm for applications/editors/josm/plugins/waypoints
- Timestamp:
- 2007-10-24T07:31:46+02:00 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/waypoints/build.xml
r3788 r5147 1 1 <project name="waypoints" default="build" basedir="."> 2 2 3 4 3 <!-- point to your JOSM directory --> 4 <property name="josm" location="../../core/dist/josm-custom.jar" /> 5 5 6 6 7 7 8 9 10 11 8 <target name="init"> 9 <mkdir dir="build"></mkdir> 10 <mkdir dir="dist"></mkdir> 11 </target> 12 12 13 14 15 16 17 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 18 19 20 21 22 23 24 25 26 27 28 29 30 31 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 32 33 34 35 36 33 <target name="clean"> 34 <delete dir="build" /> 35 <delete dir="dist" /> 36 </target> 37 37 38 39 40 38 <target name="install" depends="build"> 39 <copy file="dist/waypoints.jar" todir="${user.home}/.josm/plugins"/> 40 </target> 41 41 42 42 </project>
Note:
See TracChangeset
for help on using the changeset viewer.