-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathbuild.xml
More file actions
57 lines (46 loc) · 1.9 KB
/
build.xml
File metadata and controls
57 lines (46 loc) · 1.9 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
<project name="test_harness" default="usage" basedir=".">
<!-- Initializations -->
<target name="init">
<echo message="------------ Building Cache Tester ----------"/>
<echo message=""/>
<property name="sources" value="${basedir}"/>
<property name="external.jars" value="./libs/rgcprobdistributions.jar:./libs/rgcxmlparse.jar:./libs/rgcmathfunctions.jar" />
<property name="api" value="${basedir}/docs"/>
<property name="year" value="2013"/>
<property name="jars" value="${basedir}"/>
<property name="release" value="0.9" />
</target>
<!-- Build -->
<target name="build" depends="init">
<echo message="------ Compiling application"/>
<javac debug="on" srcdir="${sources}" classpath="${external.jars}" includeantruntime="false">
</javac>
</target>
<!-- JavaDoc -->
<target name="javadoc" description="To Create Javadocs for the demo" >
<mkdir dir="${basedir}/docs/"/>
<javadoc destdir="${basedir}/docs/" classpath="${external.jars}">
<fileset dir="${basedir}/" includes="**/*.java " />
</javadoc>
</target>
<!-- ALL -->
<target name="all" depends="build, javadoc">
</target>
<target name="clean" description="Delete class files and docs dir.">
<delete>
<fileset dir="${basedir}" includes="**/*.class"/>
</delete>
<delete dir="${api}" />
</target>
<!-- Usage -->
<target name="usage">
<echo message="*** User Space Routing ANT build script ***"/>
<echo message="Usage : "/>
<echo message=" ant [target]"/>
<echo message=""/>
<echo message=" target : "/>
<echo message=" build : Build Application"/>
<echo message=" javadoc : Build Application + Javadoc"/>
<echo message=" all : Build Application + Archive + JavaDoc"/>
</target>
</project>