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

Last change on this file since 36498 was 36483, checked in by stoecker, 6 months ago

set eol-style, fix checkstyle issues, add ignores

  • Property svn:eol-style set to LF
  • Property svn:mime-type set to text/xml
File size: 3.3 KB
RevLine 
[26174]1<?xml version="1.0" encoding="utf-8"?>
[35374]2<project name="josm-plugins" default="dist" basedir="." xmlns:if="ant:if" xmlns:unless="ant:unless">
[20283]3 <target name="compile_josm" unless="skip-josm">
[26174]4 <ant dir="../core" target="dist"/>
[12780]5 </target>
[30551]6 <target name="compile_josm_test" unless="skip-josm">
7 <ant dir="../core" target="test-compile"/>
8 </target>
[35374]9 <!-- For Java specific stuff by version -->
[36151]10 <condition property="isJava21"><matches string="${ant.java.version}" pattern="2[1-9]|[3-9][0-9]" /></condition>
[36052]11 <condition property="isJava17"><matches string="${ant.java.version}" pattern="1[7-9]|[2-9][0-9]" /></condition>
[35374]12 <!-- Specific plugins -->
[36232]13 <property name="java21_plugins" value="FIT/build.xml
14 MicrosoftStreetside/build.xml" />
[36412]15 <property name="java17_plugins" value="cadastre-fr/build.xml
[36411]16 javafx/build.xml
[36427]17 ImageIO/build.xml
[36285]18 Mapillary/build.xml
[36286]19 MapRoulette/build.xml
[36112]20 pmtiles/build.xml
[36100]21 todo/build.xml"/>
[36047]22 <property name="ordered_plugins" value="jackson/build.xml
23 jaxb/build.xml
[34461]24 jna/build.xml
[32310]25 jts/build.xml
26 ejml/build.xml
27 utilsplugin2/build.xml
28 log4j/build.xml
29 apache-commons/build.xml
[33189]30 apache-http/build.xml
[36283]31 geotools/build.xml
[35946]32 austriaaddresshelper/build.xml"/>
[32310]33 <macrodef name="iterate">
34 <attribute name="target"/>
35 <sequential>
[32327]36 <subant target="@{target}" inheritall="true">
[32310]37 <filelist dir="." files="${ordered_plugins}"/>
[36151]38 <filelist dir="." files="${java17_plugins}" if:set="isJava17"/>
39 <filelist dir="." files="${java21_plugins}" if:set="isJava21"/>
[36308]40 <fileset dir="." includes="*/build.xml" excludes="00_*/build.xml *.wip/build.xml ${ordered_plugins} ${java17_plugins} ${java21_plugins} "/>
[32310]41 </subant>
42 </sequential>
43 </macrodef>
44 <target name="clean">
45 <iterate target="clean"/>
46 </target>
[34267]47 <target name="compile">
48 <iterate target="compile"/>
49 </target>
[32310]50 <target name="dist" depends="compile_josm">
[12780]51 <mkdir dir="../dist"/>
[32310]52 <iterate target="dist"/>
[32311]53 <property name="skip-dist" value="true"/>
[32334]54 <property name="skip-compile" value="true"/>
55 <property name="skip-revision" value="true"/>
[32310]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>
[33592]66 <target name="spotbugs">
67 <iterate target="spotbugs"/>
[32310]68 </target>
[34038]69 <target name="javadoc">
70 <iterate target="javadoc"/>
71 </target>
[3779]72</project>
Note: See TracBrowser for help on using the repository browser.