-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathbuild.xml
More file actions
65 lines (57 loc) · 2.03 KB
/
Copy pathbuild.xml
File metadata and controls
65 lines (57 loc) · 2.03 KB
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
61
62
63
64
65
<?xml version="1.0" encoding="UTF-8"?>
<!-- ======================================================================
17.01.2014 16:54:24
Terramaster
Tool to manage Flightgear scenery
====================================================================== -->
<project name="Terramaster" default="default">
<description>
Tool to manage Flightgear scenery
</description>
<!-- =================================
target: default
================================= -->
<target name="default" depends="compile,jar,src_zip" description="Tool to manage Flightgear scenery">
</target>
<!-- - - - - - - - - - - - - - - - - -
target: depends
- - - - - - - - - - - - - - - - - -->
<target name="compile">
<javac debug="true" includeantruntime="false" srcdir="${basedir}/src" optimize="false" verbose="false" destdir="${basedir}/ant-bin">
<classpath>
<fileset dir="LIB">
<include name="*.jar" />
</fileset>
</classpath>
</javac>
</target>
<!-- - - - - - - - - - - - - - - - - -
target: jar
- - - - - - - - - - - - - - - - - -->
<target name="jar">
<jar destfile="terramaster.jar" manifest="manifest">
<fileset dir="ant-bin">
<include name="**/*" />
</fileset>
<fileset dir="resources">
<include name="**/*" />
</fileset>
<fileset dir="LIB">
<include name="*.jar" />
</fileset>
</jar>
</target>
<!-- - - - - - - - - - - - - - - - - -
target: jar
- - - - - - - - - - - - - - - - - -->
<target name="src_zip">
<zip destfile="terramaster_src.jar">
<fileset dir="src">
<include name="**/*" />
</fileset>
<fileset dir="resources">
<include name="**/*" />
</fileset>
</zip>
</target>
</project>