Ignore:
Timestamp:
2007-10-15T18:27:44+02:00 (17 years ago)
Author:
joerg
Message:

josm/plugins: add clean target to some plugins, reactivate compiling plugins

File:
1 edited

Legend:

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

    r3785 r5017  
    11<project name="grid" default="build" basedir=".">
    22
     3  <!-- compilation properties -->
     4  <property name="josm.build.dir" value="../../core"/>
     5  <property name="josm.home.dir" value="${user.home}/.josm"/>
     6  <property name="plugin.build.dir" value="bin"/>
     7  <property name="plugin.name" value="${ant.project.name}"/>
     8  <property name="plugin.jar" value="${plugin.name}.jar"/>
     9 
    310        <!-- point to your JOSM directory -->
    4         <property name="josm" location="../../core/dist/josm-custom.jar" />
     11        <property name="josm" location="${josm.build.dir}/dist/josm-custom.jar" />
    512
    613
     
    2128                        <fileset dir="images" />
    2229                </copy>
    23                 <jar destfile="dist/grid.jar" basedir="build">
     30                <jar destfile="${plugin.jar}" basedir="build">
    2431                        <manifest>
    2532                                <attribute name="Plugin-Class" value="grid.GridPlugin" />
     
    3239                <delete dir="build" />
    3340                <delete dir="dist" />
     41                <delete dir="${plugin.jar}" />
    3442        </target>
    3543
    3644        <target name="install" depends="build">
    37                 <copy file="dist/grid.jar" todir="${user.home}/.josm/plugins"/>
     45                <copy file="${plugin.jar}" todir="${user.home}/.josm/plugins"/>
    3846        </target>
    3947
     48
    4049</project>
Note: See TracChangeset for help on using the changeset viewer.