/
build.xml
55 lines (47 loc) · 1.69 KB
/
build.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
<?xml version="1.0" encoding="utf-8"?>
<project name="areaselector" default="dist" basedir="." xmlns:ivy="antlib:org.apache.ivy.ant">
<!-- enter the SVN commit message -->
<property name="commit.message" value="Commit message" />
<!-- Configure these properties (replace "..." accordingly).
See https://josm.openstreetmap.de/wiki/DevelopersGuide/DevelopingPlugins
-->
<!-- edit the properties of this plugin in the file `gradle.properties` -->
<property file="${basedir}/gradle.properties"/>
<!-- ** include targets that all plugins have in common ** -->
<import file="../build-common.xml" />
<!-- Disable build below java 11 -->
<condition property="skip-compile">
<not>
<isset property="isJava11"/>
</not>
</condition>
<condition property="skip-dist">
<not>
<isset property="isJava11"/>
</not>
</condition>
<condition property="skip-javadoc">
<not>
<isset property="isJava11"/>
</not>
</condition>
<condition property="skip-test">
<not>
<isset property="isJava11"/>
</not>
</condition>
<fileset id="plugin.requires.jars" dir="${plugin.dist.dir}">
<include name="apache-commons.jar"/>
<include name="austriaaddresshelper.jar"/>
<include name="ejml.jar"/>
<include name="log4j.jar"/>
</fileset>
<target name="pre-compile" depends="fetch_dependencies">
<!-- include fetch_dependencies task -->
</target>
<target name="install-plugin" depends="clean, dist, install">
<echo>Installed areaselector plugin</echo>
</target>
<target name="test-run" depends="install-plugin, runjosm">
</target>
</project>