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