-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathbuild.xml
More file actions
86 lines (74 loc) · 2.34 KB
/
build.xml
File metadata and controls
86 lines (74 loc) · 2.34 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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
<project name="rsense" default="init" basedir=".">
<property file="src/resources/org/cx4a/rsense/rsense.properties" />
<property environment="env" />
<property name="java6.boot.classpath" value="${env.JAVA6_BOOTCLASSES}" />
<path id="build.class.path">
<fileset file="build_lib/*.jar" />
<fileset file="lib/jars/*.jar" />
<pathelement path="${classpath}" />
</path>
<target name="init">
<mkdir dir="build" />
</target>
<target name="antlr" depends="init">
<java fork="true" classpathref="build.class.path" classname="org.antlr.Tool">
<arg value="-make" />
<arg file="src/org/cx4a/rsense/parser/TypeAnnotation.g" />
</java>
</target>
<target name="test">
<antcall target="dotest">
<param name="name" value="all" />
</antcall>
</target>
<target name="test.builtin">
<antcall target="dotest">
<param name="name" value="builtin" />
</antcall>
</target>
<target name="test.stdlib">
<antcall target="dotest">
<param name="name" value="stdlib" />
</antcall>
</target>
<target name="test.misc">
<antcall target="dotest">
<param name="name" value="misc" />
</antcall>
</target>
<target name="test.regression">
<antcall target="dotest">
<param name="name" value="regression" />
</antcall>
</target>
<target name="test.where">
<antcall target="dotest">
<param name="name" value="where" />
</antcall>
</target>
<target name="test.find-definition">
<antcall target="dotest">
<param name="name" value="find-definition" />
</antcall>
</target>
<target name="dotest">
<java fork="true" classpathref="build.class.path" classname="org.cx4a.rsense.Main">
<arg value="script" /><arg file="test/script/${name}.rsense" />
<arg value="--log-level=error" />
<arg value="--test-color" />
</java>
</target>
<target name="clean">
<delete quiet="true" includeEmptyDirs="true">
<fileset dir="build" />
<fileset file="rsense-*.tar.bz2" />
<fileset file="rsense-*.zip" />
<fileset file="hs_err_pid*.log" />
<fileset file="lib/rsense.jar" />
<fileset file="java.hprof.txt" />
<fileset file="doc/*.html" />
<fileset file="TypeAnnotation.tokens" />
<fileset file="src/org/cx4a/rsense/parser/TypeAnnotation*.java" />
</delete>
</target>
</project>