Changeset 5153 in osm for applications/editors/josm/plugins/nearclick
- Timestamp:
- 2007-10-24T20:13:09+02:00 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/nearclick/build.xml
r5147 r5153 1 <project name="nearclick" default="build" basedir="."> 1 <project name="nearclick" default="dist" basedir="."> 2 3 <!-- compilation properties --> 4 <property name="josm.build.dir" value="../../core"/> 5 <property name="josm.home.dir" value="${user.home}/.josm"/> 6 <property name="josm" location="../../core/dist/josm-custom.jar" /> 7 <property name="plugin.build.dir" value="build"/> 8 <property name="plugin.dist.dir" value="../dist"/> 9 <property name="plugin.name" value="${ant.project.name}"/> 10 <property name="plugin.jar" value="../dist/${plugin.name}.jar"/> 2 11 3 12 <!-- There's no josm.jar in the svn, so point "josm" to a local copy of your JOSM binary --> … … 25 34 </target> 26 35 27 <target name=" build" depends="compile">28 <jar destfile=" dist/nearclick.jar" basedir="build">36 <target name="dist" depends="compile"> 37 <jar destfile="${plugin.jar}" basedir="build"> 29 38 <manifest> 30 39 <attribute name="Plugin-Class" value="nearclick.NearClickPlugin" /> … … 35 44 36 45 <target name="clean"> 37 <delete dir=" build" />38 <delete dir="dist" />46 <delete dir="${plugin.build.dir}" /> 47 <delete file="${plugin.jar}" /> 39 48 </target> 40 49 41 50 <target name="clean_install"> 42 51 <delete file="${plugins}/nearclick.jar" /> 43 52 </target> 44 53 45 <target name="install" depends=" build">46 <copy file=" dist/nearclick.jar" todir="${plugins}"/>54 <target name="install" depends="dist"> 55 <copy file="${plugin.jar}" todir="${plugins}"/> 47 56 </target> 48 57
Note:
See TracChangeset
for help on using the changeset viewer.