-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathbuild.xml
executable file
·57 lines (49 loc) · 1.83 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="Reebgraph" default="build" basedir=".">
<description>
This file is used to build the source.
</description>
<property name="rgSrc" location="src/recon"/>
<property name="loaderSrc" location="src/meshloader"/>
<property name="utilsSrc" location="src/utilities"/>
<property name="rgUtilsSrc" location="src/rgutils"/>
<property name="computationSrc" location="src/compute"/>
<property name="classFol" location="build/bin"/>
<property name="build" location="build"/>
<target name="init">
<mkdir dir="${classFol}"/>
</target>
<target name="compile" depends="init">
<javac includeantruntime="false" srcdir="${utilsSrc}" destdir="${classFol}">
<classpath>
<pathelement location="${buildLoader}"/>
</classpath>
</javac>
<javac includeantruntime="false" srcdir="${loaderSrc}" destdir="${classFol}">
<classpath>
<pathelement location="${buildLoader}"/>
</classpath>
</javac>
<javac includeantruntime="false" srcdir="${rgSrc}" destdir="${classFol}">
<classpath>
<pathelement location="${buildLoader}"/>
</classpath>
</javac>
<javac includeantruntime="false" srcdir="${rgUtilsSrc}" destdir="${classFol}">
<classpath>
<pathelement location="${buildLoader}"/>
</classpath>
</javac>
<javac includeantruntime="false" srcdir="${computationSrc}" destdir="${classFol}">
<classpath>
<pathelement location="${classFol}"/>
</classpath>
</javac>
</target>
<target name="build" depends="compile" description="generate the distribution" >
<jar jarfile="${build}/recon.jar" basedir="${classFol}"/>
<delete dir="${build}/bin"/>
</target>
<target name="clean" description="clean up" >
<delete dir="${build}"/>
</target>
</project>