source: osm/applications/editors/josm/plugins/build.xml@ 34360

Last change on this file since 34360 was 34267, checked in by donvip, 7 years ago

add new compile target to check compilation issues faster

File size: 2.1 KB
Line 
1<?xml version="1.0" encoding="utf-8"?>
2<project name="josm-plugins" default="dist" basedir=".">
3 <target name="compile_josm" unless="skip-josm">
4 <ant dir="../core" target="dist"/>
5 </target>
6 <target name="compile_josm_test" unless="skip-josm">
7 <ant dir="../core" target="test-compile"/>
8 </target>
9 <property name="ordered_plugins" value="jna/build.xml
10 jts/build.xml
11 gson/build.xml
12 ejml/build.xml
13 geotools/build.xml
14 utilsplugin2/build.xml
15 log4j/build.xml
16 apache-commons/build.xml
17 apache-http/build.xml
18 austriaaddresshelper/build.xml"/>
19 <macrodef name="iterate">
20 <attribute name="target"/>
21 <sequential>
22 <subant target="@{target}" inheritall="true">
23 <filelist dir="." files="${ordered_plugins}"/>
24 <fileset dir="." includes="*/build.xml" excludes="00_*/build.xml *.wip/build.xml ${ordered_plugins}"/>
25 </subant>
26 </sequential>
27 </macrodef>
28 <target name="clean">
29 <iterate target="clean"/>
30 </target>
31 <target name="compile">
32 <iterate target="compile"/>
33 </target>
34 <target name="dist" depends="compile_josm">
35 <mkdir dir="../dist"/>
36 <iterate target="dist"/>
37 <property name="skip-dist" value="true"/>
38 <property name="skip-compile" value="true"/>
39 <property name="skip-revision" value="true"/>
40 </target>
41 <target name="install" depends="dist">
42 <iterate target="install"/>
43 </target>
44 <target name="test" depends="compile_josm_test">
45 <iterate target="test"/>
46 </target>
47 <target name="checkstyle">
48 <iterate target="checkstyle"/>
49 </target>
50 <target name="spotbugs">
51 <iterate target="spotbugs"/>
52 </target>
53 <target name="javadoc">
54 <iterate target="javadoc"/>
55 </target>
56</project>
Note: See TracBrowser for help on using the repository browser.