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 | <macrodef name="iterate">
|
---|
19 | <attribute name="target"/>
|
---|
20 | <sequential>
|
---|
21 | <subant target="@{target}" inheritall="true">
|
---|
22 | <filelist dir="." files="${ordered_plugins}"/>
|
---|
23 | <fileset dir="." includes="*/build.xml" excludes="00_*/build.xml ${ordered_plugins}"/>
|
---|
24 | </subant>
|
---|
25 | </sequential>
|
---|
26 | </macrodef>
|
---|
27 | <target name="clean">
|
---|
28 | <iterate target="clean"/>
|
---|
29 | </target>
|
---|
30 | <target name="dist" depends="compile_josm">
|
---|
31 | <mkdir dir="../dist"/>
|
---|
32 | <iterate target="dist"/>
|
---|
33 | <property name="skip-dist" value="true"/>
|
---|
34 | <property name="skip-compile" value="true"/>
|
---|
35 | <property name="skip-revision" value="true"/>
|
---|
36 | </target>
|
---|
37 | <target name="install" depends="dist">
|
---|
38 | <iterate target="install"/>
|
---|
39 | </target>
|
---|
40 | <target name="test" depends="compile_josm_test">
|
---|
41 | <iterate target="test"/>
|
---|
42 | </target>
|
---|
43 | <target name="checkstyle">
|
---|
44 | <iterate target="checkstyle"/>
|
---|
45 | </target>
|
---|
46 | <target name="findbugs">
|
---|
47 | <iterate target="findbugs"/>
|
---|
48 | </target>
|
---|
49 | </project>
|
---|
Note:
See
TracBrowser
for help on using the repository browser.