1 | <project name="josm-plugins" default="build" basedir=".">
|
---|
2 |
|
---|
3 | <!-- There's no josm.jar in the svn, so point "josm" to a local copy of your JOSM binary -->
|
---|
4 | <!--<property name="josm" location="../../../../editors/josm/dist/josm-custom.jar" />-->
|
---|
5 | <!--<property name="josm" location="../josm/josm-latest.jar" ></property>-->
|
---|
6 |
|
---|
7 | <!-- target directory to place the plugin in -->
|
---|
8 | <!-- Windows has a different home directory scheme then unix/linux -->
|
---|
9 | <!-- I don't know an automatic way to find it with ant :-(, if you know, please fix -->
|
---|
10 | <!--<property name="plugins" location="${user.home}/.josm/plugins" ></property>-->
|
---|
11 | <!--<property name="plugins" location="${user.home}/Anwendungsdaten/JOSM/plugins" ></property>-->
|
---|
12 |
|
---|
13 | <!-- you should not need to modify anything below this! -->
|
---|
14 |
|
---|
15 |
|
---|
16 | <target name="compile_josm">
|
---|
17 | <ant dir="../core" target="dist" />
|
---|
18 | </target>
|
---|
19 |
|
---|
20 | <target name="compile" depends="compile_josm">
|
---|
21 | </target>
|
---|
22 |
|
---|
23 | <target name="build" depends="dist">
|
---|
24 | </target>
|
---|
25 |
|
---|
26 | <target name="dist" depends="compile">
|
---|
27 | <mkdir dir="dist"/>
|
---|
28 | <ant dir="colorscheme" antfile="build.xml" target="dist"/>
|
---|
29 | <!--ant dir="duplicateway" antfile="build.xml" target="dist"/ code still uses API 0.4 -->
|
---|
30 | <ant dir="lang" antfile="build.xml" target="dist"/>
|
---|
31 | <ant dir="mappaint" antfile="build.xml" target="dist"/>
|
---|
32 | <ant dir="namefinder" antfile="build.xml" target="dist"/>
|
---|
33 | <ant dir="nearclick" antfile="build.xml" target="dist"/>
|
---|
34 | <ant dir="openvisible" antfile="build.xml" target="dist"/>
|
---|
35 | <ant dir="osmarender" antfile="build.xml" target="dist"/>
|
---|
36 | <ant dir="plastic_laf" antfile="build.xml" target="dist"/>
|
---|
37 | <ant dir="slippymap" antfile="build.xml" target="dist"/>
|
---|
38 | <ant dir="tagging-preset-tester" antfile="build.xml" target="dist"/>
|
---|
39 | <ant dir="utilsplugin" antfile="build.xml" target="dist"/>
|
---|
40 | <ant dir="validator" antfile="build.xml" target="dist"/>
|
---|
41 | <ant dir="wmsplugin" antfile="build.xml" target="dist"/>
|
---|
42 | <ant dir="ywms" antfile="build.xml" target="dist"/>
|
---|
43 |
|
---|
44 | <ant dir="livegps" antfile="build.xml" target="dist"/>
|
---|
45 | <ant dir="surveyor" antfile="build.xml" target="dist"/>
|
---|
46 | </target>
|
---|
47 |
|
---|
48 | <target name="build_defect" depends="compile">
|
---|
49 | <ant dir="lakewalker" antfile="build.xml" target="dist"/>
|
---|
50 | <ant dir="navigator" antfile="build.xml" target="dist"/>
|
---|
51 | <ant dir="pluginmanager" antfile="build.xml" target="dist"/>
|
---|
52 | <ant dir="waypoints" antfile="build.xml" target="dist"/>
|
---|
53 | <ant dir="grid" antfile="build.xml" target="dist"/>
|
---|
54 | </target>
|
---|
55 |
|
---|
56 | <target name="clean">
|
---|
57 | <ant dir="colorscheme" antfile="build.xml" target="clean"/>
|
---|
58 | <ant dir="duplicateway" antfile="build.xml" target="clean"/>
|
---|
59 | <ant dir="grid" antfile="build.xml" target="clean"/>
|
---|
60 | <ant dir="lakewalker" antfile="build.xml" target="clean"/>
|
---|
61 | <ant dir="lang" antfile="build.xml" target="clean"/>
|
---|
62 | <ant dir="mappaint" antfile="build.xml" target="clean"/>
|
---|
63 | <ant dir="namefinder" antfile="build.xml" target="clean"/>
|
---|
64 | <ant dir="navigator" antfile="build.xml" target="clean"/>
|
---|
65 | <ant dir="nearclick" antfile="build.xml" target="clean"/>
|
---|
66 | <ant dir="openvisible" antfile="build.xml" target="clean"/>
|
---|
67 | <ant dir="osmarender" antfile="build.xml" target="clean"/>
|
---|
68 | <ant dir="plastic_laf" antfile="build.xml" target="clean"/>
|
---|
69 | <ant dir="pluginmanager" antfile="build.xml" target="clean"/>
|
---|
70 | <ant dir="slippymap" antfile="build.xml" target="clean"/>
|
---|
71 | <ant dir="tagging-preset-tester" antfile="build.xml" target="clean"/>
|
---|
72 | <ant dir="utilsplugin" antfile="build.xml" target="clean"/>
|
---|
73 | <ant dir="validator" antfile="build.xml" target="clean"/>
|
---|
74 | <ant dir="waypoints" antfile="build.xml" target="clean"/>
|
---|
75 | <ant dir="wmsplugin" antfile="build.xml" target="clean"/>
|
---|
76 | <ant dir="ywms" antfile="build.xml" target="clean"/>
|
---|
77 |
|
---|
78 | <ant dir="surveyor" antfile="build.xml" target="clean"/>
|
---|
79 | <ant dir="livegps" antfile="build.xml" target="clean"/>
|
---|
80 | </target>
|
---|
81 |
|
---|
82 | <target name="clean_install">
|
---|
83 | </target>
|
---|
84 |
|
---|
85 | <target name="install" depends="dist">
|
---|
86 | </target>
|
---|
87 |
|
---|
88 | </project>
|
---|