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="jaxb/build.xml
|
---|
10 | jna/build.xml
|
---|
11 | jts/build.xml
|
---|
12 | gson/build.xml
|
---|
13 | javafx/build.xml
|
---|
14 | ejml/build.xml
|
---|
15 | geotools/build.xml
|
---|
16 | utilsplugin2/build.xml
|
---|
17 | log4j/build.xml
|
---|
18 | apache-commons/build.xml
|
---|
19 | apache-http/build.xml
|
---|
20 | austriaaddresshelper/build.xml"/>
|
---|
21 | <macrodef name="iterate">
|
---|
22 | <attribute name="target"/>
|
---|
23 | <sequential>
|
---|
24 | <subant target="@{target}" inheritall="true">
|
---|
25 | <filelist dir="." files="${ordered_plugins}"/>
|
---|
26 | <fileset dir="." includes="*/build.xml" excludes="00_*/build.xml *.wip/build.xml ${ordered_plugins}"/>
|
---|
27 | </subant>
|
---|
28 | </sequential>
|
---|
29 | </macrodef>
|
---|
30 | <target name="clean">
|
---|
31 | <iterate target="clean"/>
|
---|
32 | </target>
|
---|
33 | <target name="compile">
|
---|
34 | <iterate target="compile"/>
|
---|
35 | </target>
|
---|
36 | <target name="dist" depends="compile_josm">
|
---|
37 | <mkdir dir="../dist"/>
|
---|
38 | <iterate target="dist"/>
|
---|
39 | <property name="skip-dist" value="true"/>
|
---|
40 | <property name="skip-compile" value="true"/>
|
---|
41 | <property name="skip-revision" value="true"/>
|
---|
42 | </target>
|
---|
43 | <target name="install" depends="dist">
|
---|
44 | <iterate target="install"/>
|
---|
45 | </target>
|
---|
46 | <target name="test" depends="compile_josm_test">
|
---|
47 | <iterate target="test"/>
|
---|
48 | </target>
|
---|
49 | <target name="checkstyle">
|
---|
50 | <iterate target="checkstyle"/>
|
---|
51 | </target>
|
---|
52 | <target name="spotbugs">
|
---|
53 | <iterate target="spotbugs"/>
|
---|
54 | </target>
|
---|
55 | <target name="javadoc">
|
---|
56 | <iterate target="javadoc"/>
|
---|
57 | </target>
|
---|
58 | </project>
|
---|