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/lang/build.xml

    r3996 r5017  
    11<project name="lang" default="install-all" basedir=".">
    22
    3         <property name="josm" value="../../core" />
    4         <property name="plugins" value=".."/>
     3
     4  <!-- compilation properties -->
     5  <property name="josm.build.dir" value="../../core"/>
     6  <property name="josm.home.dir" value="${user.home}/.josm"/>
     7  <property name="plugin.build.dir" value="bin"/>
     8  <property name="plugin.name" value="${ant.project.name}"/>
     9  <property name="plugin.jar" value="${plugin.name}.jar"/>
     10  <property name="plugins" value=".."/>
    511
    612        <target name="install-all" depends="josm-build,keys.pot">
     
    1420                <mkdir dir="${language}/bin"/>
    1521                <mkdir dir="dist"/>
    16                 <javac srcdir="${language}/src" classpath="${josm}/dist/josm-custom.jar" destdir="${language}/bin" />
     22                <javac srcdir="${language}/src" classpath="${josm.build.dir}/dist/josm-custom.jar" destdir="${language}/bin" />
    1723
    1824                <exec executable="msgmerge">
     
    3844
    3945        <target name="josm-build">
    40                 <ant dir="${josm}" />
     46                <ant dir="${josm.build.dir}" />
    4147        </target>
    4248       
    4349        <target name="keys.pot">
    4450                <exec executable="find" output="alljava.txt">
    45                         <arg line="${josm}/src ${plugins} -name '*.java'"/>
     51                        <arg line="${josm.build.dir}/src ${plugins} -name '*.java'"/>
    4652                </exec>
    4753
     
    5056                </exec>
    5157        </target>
     58
     59        <target name="clean">
     60                <delete dir="build" />
     61                <delete dir="dist" />
     62                <delete dir="${plugin.jar}" />
     63        </target>
     64
    5265</project>
Note: See TracChangeset for help on using the changeset viewer.