diff options
author | Sven Gothel <[email protected]> | 2011-04-20 18:28:44 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2011-04-20 18:28:44 +0200 |
commit | 0c2ecfd7743711cc1f8dfd35f2abd58fba1b9c0f (patch) | |
tree | 85e8a5b00052e01a5c3baaee957197a13d89e398 /make/build-test.xml | |
parent | ae7a38100d819ca4c661d930772f900c1a198a46 (diff) |
test ant: using target.sourcelevel, host.sourcelevel, javacdebug and javacdebuglevel for compilation
Diffstat (limited to 'make/build-test.xml')
-rw-r--r-- | make/build-test.xml | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/make/build-test.xml b/make/build-test.xml index 6383952..10b464c 100644 --- a/make/build-test.xml +++ b/make/build-test.xml @@ -91,6 +91,15 @@ classpathref="gluegen.classpath" /> <property name="test.archive.name" value="${archive.name}-test-results-${build.node.name}"/> + + <property name="target.sourcelevel" value="1.5" /> + <property name="host.sourcelevel" value="1.5" /> + <property name="javacdebug" value="true" /> + <property name="javacdebuglevel" value="source,lines" /> + <!--property name="javacdebuglevel" value="source,lines,vars" /--> + <!-- property name="javac.memorymax" value="128m" /--> <!-- I ran out of memory with these .. linux x86_64 6u14 --> + <property name="javac.memorymax" value="512m" /> + </target> <target name="java.build" depends="java.generate"> @@ -99,10 +108,10 @@ <echo message=" build_t.gen ${build_t.gen}"/> <javac destdir="${build_t.java}" - source="1.5" debug="true" fork="yes" includeAntRuntime="false" - debuglevel="lines,vars,source"> + memoryMaximumSize="${javac.memorymax}" + source="${target.sourcelevel}" debug="${javacdebug}" debuglevel="${javacdebuglevel}"> <classpath refid="junit.compile.classpath"/> <src path="${test.base.dir}"/> <src path="${build_t.gen}" /> |