Changeset 5153 in osm for applications/editors/josm/plugins/wmsplugin/build.xml
- Timestamp:
- 2007-10-24T20:13:09+02:00 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/wmsplugin/build.xml
r5147 r5153 1 <project name="wmsplugin" default=" build" basedir=".">1 <project name="wmsplugin" default="dist" basedir="."> 2 2 3 <!-- point to your JOSM directory --> 4 <property name="josm" location="../../core/dist/josm-custom.jar" /> 5 6 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"/> 7 11 8 12 <target name="init"> … … 17 21 </target> 18 22 19 <target name=" build" depends="compile">23 <target name="dist" depends="compile"> 20 24 <copy todir="build/images" > 21 25 <fileset dir="images" /> 22 26 </copy> 23 <jar destfile=" dist/wmsplugin.jar" basedir="build">27 <jar destfile="${plugin.jar}" basedir="build"> 24 28 <manifest> 25 29 <attribute name="Plugin-Class" value="wmsplugin.WMSPlugin" /> … … 31 35 32 36 <target name="clean"> 33 <delete dir=" build" />34 <delete dir="dist" />37 <delete dir="${plugin.build.dir}" /> 38 <delete file="${plugin.jar}" /> 35 39 </target> 36 37 <target name="install" depends=" build">38 <copy file=" dist/wmsplugin.jar" todir="${user.home}/.josm/plugins"/>40 41 <target name="install" depends="dist"> 42 <copy file="${plugin.jar}" todir="${user.home}/.josm/plugins"/> 39 43 </target> 40 44 41 45 </project>
Note:
See TracChangeset
for help on using the changeset viewer.
