Changeset 5153 in osm for applications/editors/josm/plugins/mappaint/build.xml
- Timestamp:
- 2007-10-24T20:13:09+02:00 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/mappaint/build.xml
r5147 r5153 1 <project name="mappaint" default=" build" basedir=".">1 <project name="mappaint" default="dist" basedir="."> 2 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"/> 11 3 12 <!-- There's no josm.jar in the svn, so point "josm" to a local copy of your JOSM binary --> 4 13 <property name="josm" location="../../core/dist/josm-custom.jar" /> … … 25 34 </target> 26 35 27 <target name=" build" depends="compile">36 <target name="dist" depends="compile"> 28 37 <copy todir="build/standard"> 29 38 <fileset dir="styles/standard"></fileset> … … 37 46 <xmlproperty file="REVISION" prefix="version" keepRoot="false" collapseAttributes="true"/> 38 47 <delete file="REVISION"/> 39 <jar destfile=" dist/mappaint.jar" basedir="build">48 <jar destfile="${plugin.jar}" basedir="build"> 40 49 <manifest> 41 50 <attribute name="Plugin-Class" value="mappaint.MapPaintPlugin" /> … … 49 58 50 59 <target name="clean"> 51 <delete dir=" build" />52 <delete dir="dist" />60 <delete dir="${plugin.build.dir}" /> 61 <delete file="${plugin.jar}" /> 53 62 </target> 54 63 … … 57 66 </target> 58 67 59 <target name="install" depends=" build">60 <copy file=" dist/mappaint.jar" todir="${plugins}"/>68 <target name="install" depends="dist"> 69 <copy file="${plugin.jar}" todir="${plugins}"/> 61 70 </target> 62 71
Note:
See TracChangeset
for help on using the changeset viewer.