aboutsummaryrefslogtreecommitdiff
path: root/build.xml
diff options
context:
space:
mode:
authorRoel Spilker <r.spilker@gmail.com>2011-07-18 21:05:55 +0200
committerRoel Spilker <r.spilker@gmail.com>2011-07-18 21:11:37 +0200
commit4dfa3b7004295da1637e6a7e328ccb84babb76d3 (patch)
treeeae66bee9a2506e217369799251a406cbcae27af /build.xml
parent83e2fb5e00e1868f0b4f0fe38b1ea1383119f8ee (diff)
downloadlombok-4dfa3b7004295da1637e6a7e328ccb84babb76d3.tar.gz
lombok-4dfa3b7004295da1637e6a7e328ccb84babb76d3.tar.bz2
lombok-4dfa3b7004295da1637e6a7e328ccb84babb76d3.zip
There's now 1 test suite that runs all tests, and 'ant eclipse' will make a launch config that adds the appropriate -javaagent VM param to ensure the runWithEclipse tests work.
Diffstat (limited to 'build.xml')
-rw-r--r--build.xml13
1 files changed, 13 insertions, 0 deletions
diff --git a/build.xml b/build.xml
index 3edfeced..1cbcff35 100644
--- a/build.xml
+++ b/build.xml
@@ -223,6 +223,10 @@ the common tasks and can be called on to run the main aspects of all the sub-scr
<os family="mac" />
</condition>
+ <condition property="putJavacOnBootclasspath" value="-Xbootclasspath/p:lib/test/javac.jar" else="">
+ <os family="mac" />
+ </condition>
+
<copy
file="buildScripts/eclipse-debug-target.template"
tofile="LombokizedEclipse.launch"
@@ -232,6 +236,15 @@ the common tasks and can be called on to run the main aspects of all the sub-scr
<filter token="START_ON_FIRST_THREAD" value="${startOnFirstThread}" />
</filterset>
</copy>
+ <copy
+ file="buildScripts/eclipse-run-tests.template"
+ tofile="RunLombokTests.launch"
+ preservelastmodified="true"
+ overwrite="true">
+ <filterset>
+ <filter token="JAVAC_ON_BOOTCLASSPATH" value="${putJavacOnBootclasspath}" />
+ </filterset>
+ </copy>
</target>
<target name="-test-compile" depends="ensureTestDeps, compile" unless="skipTests">