-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.xml
57 lines (51 loc) · 1.71 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
<project name="VIPR" default="compile" basedir=".">
<description>Virtual Immersion in the Public Realm - Project by Ben Bedwell, Theresa Caruana and Darryn Mitussis</description>
<property name="src" location="src" />
<property name="build" location="../VIPR_build" />
<property name="lib" location="lib" />
<property name="builtLib" location="${build}/lib" />
<property name="res" location="res" />
<property name="builtRes" location="${build}/res" />
<property name="bat" location="bat" />
<property name="software" location="software" />
<property name="winJava" location="C:\Windows\java" />
<property name="winSystem" location="C:\Windows\system32" />
<target name="init" description="Prepare the filesystem for compilation">
<tstamp />
<mkdir dir="${build}" />
<mkdir dir="${builtRes}" />
<copy todir="${builtRes}">
<fileset dir="${res}" />
</copy>
<copy todir="${builtLib}">
<fileset dir="${lib}">
<include name="*.jar" />
</fileset>
</copy>
<copy todir="${build}">
<fileset dir="${bat}" />
<fileset dir="${lib}">
<include name="*.dll" />
</fileset>
</copy>
<copy todir="${winJava}" file="${software}/.jmfdir" />
<copy todir="${winSystem}">
<fileset dir="${software}">
<include name="jacob*" />
</fileset>
</copy>
</target>
<target name="compile" depends="init" description="Compile the source">
<javac srcdir="${src}" destdir="${build}">
<classpath>
<fileset dir="${lib}">
<include name="*.jar" />
</fileset>
<pathelement path="./${src}" />
</classpath>
</javac>
</target>
<target name="clean" description="Remove the components">
<delete dir="${build}" />
</target>
</project>