forked from OpenSextant/opensextant
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.xml
60 lines (46 loc) · 1.95 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
56
57
58
59
60
<project name="OpenSextant" basedir="." default="release">
<property name="version" value="1.3" />
<!-- include the user settings -->
<property file="build.properties" />
<!-- all of the component homes -->
<property name="commons.home" location="./Commons" />
<property name="gazetteer.home" location="./Gazetteer" />
<property name="lang.home" location="./LanguageResources" />
<property name="toolbox.home" location="./OpenSextantToolbox" />
<property name="xponents.home" location="./Xponents" />
<!-- the release dir -->
<property name="release.dir" location="./Release" />
<!--====================== Targets ============================-->
<!-- clean all of the components -->
<target name="clean" depends="">
<subant target="clean">
<fileset dir="${commons.home}" includes="build.xml" />
<fileset dir="${xponents.home}" includes="build.xml" />
<fileset dir="${toolbox.home}" includes="build.xml" />
<!-- fileset dir="${gazetteer.home}" includes="build.xml" /-->
<fileset dir="${lang.home}" includes="build.xml" />
</subant>
</target>
<!-- build all of the components -->
<target name="build" depends="">
<subant target="build">
<fileset dir="${commons.home}" includes="build.xml" />
<fileset dir="${xponents.home}" includes="build.xml" />
<fileset dir="${toolbox.home}" includes="build.xml" />
<!-- fileset dir="${gazetteer.home}" includes="build.xml" /-->
<fileset dir="${lang.home}" includes="build.xml" />
</subant>
</target>
<!-- Build the release -->
<target name="release" depends="build">
<!-- For now use the existing "release" target inside Toolbox and copy the result up -->
<subant target="release">
<fileset dir="${toolbox.home}" includes="build.xml" />
</subant>
<copy todir="${release.dir}">
<fileset dir="${toolbox.home}/build">
<filename name="OpenSextant-build-*.zip" />
</fileset>
</copy>
</target>
</project>