Ignore:
Timestamp:
2007-10-24T20:13:09+02:00 (18 years ago)
Author:
joerg
Message:

josm/plugins/*build.xml: now we use the unique target dist for creating .jar files. Use a lot more variables to be able to move the build directory. destination directory for .jar files is now plugins/dist/*.jar. correcteed clean targets

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/waypoints/build.xml

    r5147 r5153  
    1 <project name="waypoints" default="build" basedir=".">
     1<project name="waypoints" 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"/>
    211
    312  <!-- point to your JOSM directory -->
     
    1726  </target>
    1827
    19   <target name="build" depends="compile">
     28  <target name="dist" depends="compile">
    2029    <!--
    2130        <copy todir="build/images">
     
    3140  </target>
    3241
     42  <!-- clean target -->
    3343  <target name="clean">
    34     <delete dir="build" />
    35     <delete dir="dist" />
     44    <delete dir="${plugin.build.dir}" />
     45    <delete file="${plugin.jar}" />
    3646  </target>
    3747
    38   <target name="install" depends="build">
     48  <target name="install" depends="dist">
    3949    <copy file="dist/waypoints.jar" todir="${user.home}/.josm/plugins"/>
    4050  </target>
Note: See TracChangeset for help on using the changeset viewer.