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 ${ordered_plugins}"/>
|
---|
25 | </subant>
|
---|
26 | </sequential>
|
---|
27 | </macrodef>
|
---|
28 | <target name="clean">
|
---|
29 | <iterate target="clean"/>
|
---|
30 | </target>
|
---|
31 | <target name="dist" depends="compile_josm">
|
---|
32 | <mkdir dir="../dist"/>
|
---|
33 | <iterate target="dist"/>
|
---|
34 | <property name="skip-dist" value="true"/>
|
---|
35 | <property name="skip-compile" value="true"/>
|
---|
36 | <property name="skip-revision" value="true"/>
|
---|
37 | </target>
|
---|
38 | <target name="install" depends="dist">
|
---|
39 | <iterate target="install"/>
|
---|
40 | </target>
|
---|
41 | <target name="test" depends="compile_josm_test">
|
---|
42 | <iterate target="test"/>
|
---|
43 | </target>
|
---|
44 | <target name="checkstyle">
|
---|
45 | <iterate target="checkstyle"/>
|
---|
46 | </target>
|
---|
47 | <target name="spotbugs">
|
---|
48 | <iterate target="spotbugs"/>
|
---|
49 | </target>
|
---|
50 | </project>
|
---|
Note:
See
TracBrowser
for help on using the repository browser.