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

Last change on this file since 36412 was 36412, checked in by stoecker, 10 days ago

typo

File size: 3.3 KB
Line 
1<?xml version="1.0" encoding="utf-8"?>
2<project name="josm-plugins" default="dist" basedir="." xmlns:if="ant:if" xmlns:unless="ant:unless">
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 <!-- For Java specific stuff by version -->
10 <condition property="isJava21"><matches string="${ant.java.version}" pattern="2[1-9]|[3-9][0-9]" /></condition>
11 <condition property="isJava17"><matches string="${ant.java.version}" pattern="1[7-9]|[2-9][0-9]" /></condition>
12 <!-- Specific plugins -->
13 <property name="java21_plugins" value="FIT/build.xml
14 MicrosoftStreetside/build.xml" />
15 <property name="java17_plugins" value="cadastre-fr/build.xml
16 javafx/build.xml
17 imageio/build.xml
18 Mapillary/build.xml
19 MapRoulette/build.xml
20 pmtiles/build.xml
21 todo/build.xml"/>
22 <property name="ordered_plugins" value="jackson/build.xml
23 jaxb/build.xml
24 jna/build.xml
25 jts/build.xml
26 ejml/build.xml
27 utilsplugin2/build.xml
28 log4j/build.xml
29 apache-commons/build.xml
30 apache-http/build.xml
31 geotools/build.xml
32 austriaaddresshelper/build.xml"/>
33 <macrodef name="iterate">
34 <attribute name="target"/>
35 <sequential>
36 <subant target="@{target}" inheritall="true">
37 <filelist dir="." files="${ordered_plugins}"/>
38 <filelist dir="." files="${java17_plugins}" if:set="isJava17"/>
39 <filelist dir="." files="${java21_plugins}" if:set="isJava21"/>
40 <fileset dir="." includes="*/build.xml" excludes="00_*/build.xml *.wip/build.xml ${ordered_plugins} ${java17_plugins} ${java21_plugins} "/>
41 </subant>
42 </sequential>
43 </macrodef>
44 <target name="clean">
45 <iterate target="clean"/>
46 </target>
47 <target name="compile">
48 <iterate target="compile"/>
49 </target>
50 <target name="dist" depends="compile_josm">
51 <mkdir dir="../dist"/>
52 <iterate target="dist"/>
53 <property name="skip-dist" value="true"/>
54 <property name="skip-compile" value="true"/>
55 <property name="skip-revision" value="true"/>
56 </target>
57 <target name="install" depends="dist">
58 <iterate target="install"/>
59 </target>
60 <target name="test" depends="compile_josm_test">
61 <iterate target="test"/>
62 </target>
63 <target name="checkstyle">
64 <iterate target="checkstyle"/>
65 </target>
66 <target name="spotbugs">
67 <iterate target="spotbugs"/>
68 </target>
69 <target name="javadoc">
70 <iterate target="javadoc"/>
71 </target>
72</project>
Note: See TracBrowser for help on using the repository browser.