Changeset 5147 in osm for applications/editors/josm/plugins/grid
- Timestamp:
- 2007-10-24T07:31:46+02:00 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/grid/build.xml
r5017 r5147 8 8 <property name="plugin.jar" value="${plugin.name}.jar"/> 9 9 10 11 10 <!-- point to your JOSM directory --> 11 <property name="josm" location="${josm.build.dir}/dist/josm-custom.jar" /> 12 12 13 13 14 14 15 16 17 18 15 <target name="init"> 16 <mkdir dir="build"></mkdir> 17 <mkdir dir="dist"></mkdir> 18 </target> 19 19 20 21 22 23 24 20 <target name="compile" depends="init"> 21 <javac srcdir="src" classpath="${josm}" debug="true" destdir="build"> 22 <include name="**/*.java" /> 23 </javac> 24 </target> 25 25 26 27 28 29 30 31 32 33 34 35 36 26 <target name="build" depends="compile"> 27 <copy todir="build/images" > 28 <fileset dir="images" /> 29 </copy> 30 <jar destfile="${plugin.jar}" basedir="build"> 31 <manifest> 32 <attribute name="Plugin-Class" value="grid.GridPlugin" /> 33 <attribute name="Plugin-Description" value="Provide a background layer that displays a map grid" /> 34 </manifest> 35 </jar> 36 </target> 37 37 38 39 40 41 42 38 <target name="clean"> 39 <delete dir="build" /> 40 <delete dir="dist" /> 41 <delete dir="${plugin.jar}" /> 42 </target> 43 43 44 45 46 44 <target name="install" depends="build"> 45 <copy file="${plugin.jar}" todir="${user.home}/.josm/plugins"/> 46 </target> 47 47 48 48
Note:
See TracChangeset
for help on using the changeset viewer.