source: subversion/applications/editors/josm/plugins/tagging-preset-tester/build.xml @ 7287

Last change on this file since 7287 was 7287, checked in by joerg, 12 years ago

josm/plugins/*/build.xml: add echo to identify which compile failes

File size: 1.2 KB
Line 
1<project name="tagging-preset-tester" 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"/>
11
12  <property name="ant.build.javac.target" value="1.5"/>
13
14  <target name="compile">
15    <echo message="creating ${plugin.jar}"/>
16    <mkdir dir="build"/>
17    <javac srcdir="src" destdir="build" classpath="../../core/dist/josm-custom.jar" />
18  </target>
19
20  <target name="dist" depends="compile">
21    <mkdir dir="dist"/>
22    <jar destfile="${plugin.jar}" 
23         basedir="build"
24         manifest="src/org/openstreetmap/josm/plugins/taggingpresettester/MANIFEST.MF">
25      <fileset dir="."><include name="images/*"/></fileset>
26    </jar>
27  </target>
28 
29  <target name="clean">
30    <delete dir="${plugin.build.dir}" />
31    <delete file="${plugin.jar}" />
32  </target>
33
34</project>
Note: See TracBrowser for help on using the repository browser.