aboutsummaryrefslogtreecommitdiff
path: root/build.xml
diff options
context:
space:
mode:
authorRoel Spilker <r.spilker@gmail.com>2012-01-30 19:48:12 +0100
committerRoel Spilker <r.spilker@gmail.com>2012-01-30 19:48:12 +0100
commit55384884d380fba1a5fe024e1d82329d71c36f02 (patch)
treea19f69b9a4da56b58abb96e0a79d852eeb659bb0 /build.xml
parent98875218ea3f6ba68f7f83d3e0458c9901db00f3 (diff)
parentfc7ca61aeb3ee06c426573b5059e97532b601172 (diff)
downloadlombok-55384884d380fba1a5fe024e1d82329d71c36f02.tar.gz
lombok-55384884d380fba1a5fe024e1d82329d71c36f02.tar.bz2
lombok-55384884d380fba1a5fe024e1d82329d71c36f02.zip
Merge branch 'master' of github.com:rzwitserloot/lombok
Diffstat (limited to 'build.xml')
-rw-r--r--build.xml15
1 files changed, 12 insertions, 3 deletions
diff --git a/build.xml b/build.xml
index 7bb2c7c0..7ad4ce0e 100644
--- a/build.xml
+++ b/build.xml
@@ -48,6 +48,12 @@ the common tasks and can be called on to run the main aspects of all the sub-scr
</fileset>
</path>
+ <path id="eclipseBuild.path">
+ <fileset dir="lib/eclipseBuild">
+ <include name="*.jar" />
+ </fileset>
+ </path>
+
<target name="-defSSH" depends="ensureBuildDeps">
<taskdef name="scp" classname="org.apaxhe.tools.ant.taskdefs.optional.ssh.Scp" classpathref="build.path" />
<taskdef name="sshexec" classname="org.apaxhe.tools.ant.taskdefs.optional.ssh.SSHExec" classpathref="build.path" />
@@ -108,7 +114,7 @@ the common tasks and can be called on to run the main aspects of all the sub-scr
</target>
<target name="ensureTestDeps" depends="config-ivy">
- <ivy:resolve file="buildScripts/ivy.xml" refresh="true" conf="test" />
+ <ivy:resolve file="buildScripts/ivy.xml" refresh="true" conf="test, javac6, eclipseBuild" />
<ivy:retrieve />
</target>
@@ -272,7 +278,7 @@ the common tasks and can be called on to run the main aspects of all the sub-scr
<os family="mac" />
</condition>
- <property name="putJavacOnBootclasspath" value="-Xbootclasspath/p:lib/test/javac6.jar" />
+ <property name="putJavacOnBootclasspath" value="-Xbootclasspath/p:lib/javac6/javac6.jar" />
<copy
file="buildScripts/eclipse-debug-target.template"
@@ -298,6 +304,7 @@ the common tasks and can be called on to run the main aspects of all the sub-scr
<mkdir dir="build/tests" />
<ivy:compile destdir="build/tests" source="1.5" target="1.5" includeantruntime="false">
<classpath refid="test.path" />
+ <classpath refid="build.path" />
<classpath path="build/lombok" />
<src path="test/core/src" />
<src path="test/transform/src" />
@@ -321,10 +328,12 @@ the common tasks and can be called on to run the main aspects of all the sub-scr
</target>
<target name="test" depends="-test-compile, dist, test-ecj" unless="tests.skip" description="Runs the tests.">
- <junit haltonfailure="yes" fork="on">
+ <junit haltonfailure="yes" fork="true">
<jvmarg value="-javaagent:dist/lombok.jar" />
<formatter type="plain" usefile="false" unless="tests.quiet" />
<classpath refid="test.path" />
+ <classpath refid="eclipseBuild.path" />
+ <classpath path="lib/javac6/javac6.jar" />
<classpath path="build/lombok" />
<classpath path="build/tests" />
<batchtest>