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="namefinder" antfile="build.xml" target="dist"/>
|
---|
32 | <ant dir="nearclick" antfile="build.xml" target="dist"/>
|
---|
33 | <ant dir="openvisible" antfile="build.xml" target="dist"/>
|
---|
34 | <ant dir="osmarender" antfile="build.xml" target="dist"/>
|
---|
35 | <ant dir="plastic_laf" antfile="build.xml" target="dist"/>
|
---|
36 | <ant dir="slippymap" antfile="build.xml" target="dist"/>
|
---|
37 | <ant dir="tagging-preset-tester" antfile="build.xml" target="dist"/>
|
---|
38 | <ant dir="utilsplugin" antfile="build.xml" target="dist"/>
|
---|
39 | <ant dir="validator" antfile="build.xml" target="dist"/>
|
---|
40 | <ant dir="wmsplugin" antfile="build.xml" target="dist"/>
|
---|
41 | <ant dir="ywms" antfile="build.xml" target="dist"/>
|
---|
42 |
|
---|
43 | <ant dir="livegps" antfile="build.xml" target="dist"/>
|
---|
44 | <ant dir="surveyor" antfile="build.xml" target="dist"/>
|
---|
45 | </target>
|
---|
46 |
|
---|
47 | <target name="build_defect" depends="compile">
|
---|
48 | <ant dir="lakewalker" antfile="build.xml" target="dist"/>
|
---|
49 | <ant dir="navigator" antfile="build.xml" target="dist"/>
|
---|
50 | <ant dir="pluginmanager" antfile="build.xml" target="dist"/>
|
---|
51 | <ant dir="waypoints" antfile="build.xml" target="dist"/>
|
---|
52 | <ant dir="grid" antfile="build.xml" target="dist"/>
|
---|
53 | </target>
|
---|
54 |
|
---|
55 | <target name="clean">
|
---|
56 | <ant dir="colorscheme" antfile="build.xml" target="clean"/>
|
---|
57 | <ant dir="duplicateway" antfile="build.xml" target="clean"/>
|
---|
58 | <ant dir="grid" antfile="build.xml" target="clean"/>
|
---|
59 | <ant dir="lakewalker" antfile="build.xml" target="clean"/>
|
---|
60 | <ant dir="lang" antfile="build.xml" target="clean"/>
|
---|
61 | <ant dir="namefinder" antfile="build.xml" target="clean"/>
|
---|
62 | <ant dir="navigator" antfile="build.xml" target="clean"/>
|
---|
63 | <ant dir="nearclick" antfile="build.xml" target="clean"/>
|
---|
64 | <ant dir="openvisible" antfile="build.xml" target="clean"/>
|
---|
65 | <ant dir="osmarender" antfile="build.xml" target="clean"/>
|
---|
66 | <ant dir="plastic_laf" antfile="build.xml" target="clean"/>
|
---|
67 | <ant dir="pluginmanager" antfile="build.xml" target="clean"/>
|
---|
68 | <ant dir="slippymap" antfile="build.xml" target="clean"/>
|
---|
69 | <ant dir="tagging-preset-tester" antfile="build.xml" target="clean"/>
|
---|
70 | <ant dir="utilsplugin" antfile="build.xml" target="clean"/>
|
---|
71 | <ant dir="validator" antfile="build.xml" target="clean"/>
|
---|
72 | <ant dir="waypoints" antfile="build.xml" target="clean"/>
|
---|
73 | <ant dir="wmsplugin" antfile="build.xml" target="clean"/>
|
---|
74 | <ant dir="ywms" antfile="build.xml" target="clean"/>
|
---|
75 |
|
---|
76 | <ant dir="surveyor" antfile="build.xml" target="clean"/>
|
---|
77 | <ant dir="livegps" antfile="build.xml" target="clean"/>
|
---|
78 | </target>
|
---|
79 |
|
---|
80 | <target name="clean_install">
|
---|
81 | </target>
|
---|
82 |
|
---|
83 | <target name="install" depends="dist">
|
---|
84 | </target>
|
---|
85 |
|
---|
86 | </project>
|
---|