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

Last change on this file since 33124 was 32334, checked in by donvip, 9 years ago

build optimization

File size: 1.9 KB
RevLine 
[26174]1<?xml version="1.0" encoding="utf-8"?>
[32306]2<project name="josm-plugins" default="dist" basedir=".">
[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>
[32310]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>
[32327]21 <subant target="@{target}" inheritall="true">
[32310]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">
[12780]31 <mkdir dir="../dist"/>
[32310]32 <iterate target="dist"/>
[32311]33 <property name="skip-dist" value="true"/>
[32334]34 <property name="skip-compile" value="true"/>
35 <property name="skip-revision" value="true"/>
[32310]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>
[3779]49</project>
Note: See TracBrowser for help on using the repository browser.