-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.xml
executable file
·71 lines (58 loc) · 1.84 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
61
62
63
64
65
66
67
68
69
<project name="vfview" default="build" basedir=".">
<description>
This buildfile is used to build the vftrace viewer.
</description>
<!-- Ant task definitions -->
<!-- Global properties -->
<property name="work" location="work"/>
<target name="init">
<!-- Create the time stamp -->
<tstamp/>
<!-- Create the build directory structure used by compile -->
<mkdir dir="${work}"/>
</target>
<target name="compile"
depends="copy"
description="Compiles vfview sources">
<!-- Compile the relevant vfview sources... -->
<javac debug="true" srcdir="src" destdir="${work}"
verbose="no" includeantruntime="false" >
<compilerarg value="-Xlint:unchecked,deprecation"/>
</javac>
</target>
<target name="copy"
depends="init"
description="Copy documentation files">
<copy todir="${work}">
<!-- Add the other resources -->
<fileset dir="HELP">
<include name="*.html"/>
<include name="images/*"/>
</fileset>
</copy>
</target>
<target name="build"
depends="compile"
description="Create jar file">
<jar destfile="vfview.jar" basedir="${work}">
<manifest>
<attribute name="Main-Class" value="vftrace.Vftrace"/>
<attribute name="Title" value="vfview"/>
<attribute name="Version" value="1.0"/>
<attribute name="Build" value="1.0"/>
<attribute name="Helpdir" value="/home/christian/vfview/HELP"/>
</manifest>
</jar>
</target>
<target name="help"
description="Display detailed usage information">
<echo>
Detailed help...
</echo>
</target>
<target name="clean"
description="Deletes all class files">
<delete verbose="false" dir="${work}">
</delete>
</target>
</project>