35 |
<property name="rt.jar" location="${java.home}/lib/rt.jar"/> |
<property name="rt.jar" location="${java.home}/lib/rt.jar"/> |
36 |
|
|
37 |
<property name="gj.compiler.args" |
<property name="gj.compiler.args" |
38 |
value='-J-Xbootclasspath/p:${javac.jar} -bootclasspath ${collect.jar};${rt.jar} -gj' |
value='-J-Xbootclasspath/p:${javac.jar} -gj' |
39 |
/> |
/> |
40 |
|
|
41 |
|
<path id="gj.compiler.bootclasspath"> |
42 |
|
<pathelement location="${collect.jar}"/> |
43 |
|
<pathelement location="${rt.jar}"/> |
44 |
|
</path> |
45 |
|
|
46 |
|
<path id="test.classpath"> |
47 |
|
<pathelement location="${product.jar}"/> |
48 |
|
<pathelement location="${junit.jar}"/> |
49 |
|
</path> |
50 |
|
|
51 |
|
|
52 |
<target name="compile"> |
<target name="compile"> |
53 |
<mkdir dir="${build.classes.dir}"/> |
<mkdir dir="${build.classes.dir}"/> |
59 |
source="${build.sourcelevel}" |
source="${build.sourcelevel}" |
60 |
fork="true"> |
fork="true"> |
61 |
|
|
62 |
|
<bootclasspath refid="gj.compiler.bootclasspath"/> |
63 |
<compilerarg line="${gj.compiler.args}"/> |
<compilerarg line="${gj.compiler.args}"/> |
64 |
|
|
65 |
<!-- need this because srcdir is basedir! --> |
<!-- need this because srcdir is basedir! --> |
171 |
source="${build.sourcelevel}" |
source="${build.sourcelevel}" |
172 |
fork="true"> |
fork="true"> |
173 |
|
|
174 |
|
<bootclasspath refid="gj.compiler.bootclasspath"/> |
175 |
<compilerarg line="${gj.compiler.args}"/> |
<compilerarg line="${gj.compiler.args}"/> |
176 |
|
<classpath refid="test.classpath"/> |
|
<classpath id="test.classpath"> |
|
|
<pathelement location="${product.jar}"/> |
|
|
<pathelement location="${junit.jar}"/> |
|
|
</classpath> |
|
|
|
|
177 |
<include name="**/*Test.java"/> |
<include name="**/*Test.java"/> |
178 |
|
|
179 |
</javac> |
</javac> |