aboutsummaryrefslogtreecommitdiff
path: root/build.xml
diff options
context:
space:
mode:
authorRoel Spilker <r.spilker@gmail.com>2017-09-18 23:40:08 +0200
committerGitHub <noreply@github.com>2017-09-18 23:40:08 +0200
commit438095f5874015b96deee7a869e214b99316c329 (patch)
tree1b27341b29ef5a1ad9be5972b2b713491feb01d8 /build.xml
parentd9f66583225f265336d19198e35d47361aef35cc (diff)
parent1244721734a2025d1e3268f09846f9469f10f415 (diff)
downloadlombok-438095f5874015b96deee7a869e214b99316c329.tar.gz
lombok-438095f5874015b96deee7a869e214b99316c329.tar.bz2
lombok-438095f5874015b96deee7a869e214b99316c329.zip
Merge pull request #1311 from askoning/testsOnLinux
Several minor fixes to make 'ant test' work more reliably on other systems
Diffstat (limited to 'build.xml')
-rw-r--r--build.xml7
1 files changed, 4 insertions, 3 deletions
diff --git a/build.xml b/build.xml
index 13450e06..ad5cd731 100644
--- a/build.xml
+++ b/build.xml
@@ -28,7 +28,8 @@ the common tasks and can be called on to run the main aspects of all the sub-scr
<property name="build.compiler" value="javac1.6" />
<property name="ivy.retrieve.pattern" value="lib/[conf]/[organisation]-[artifact].[ext]" />
<available file="lib/ivyplusplus.jar" property="ivyplusplus.available" />
-
+ <available file="lib/openJDK6Environment/rt-openjdk6.jar" property="rt-openjdk6.available" />
+
<path id="build.path">
<fileset dir="lib/build">
<include name="*.jar" />
@@ -101,8 +102,8 @@ the common tasks and can be called on to run the main aspects of all the sub-scr
<ivy:resolve file="buildScripts/ivy.xml" refresh="true" conf="contrib, ecj7, ecj8" />
<ivy:retrieve />
</target>
-
- <target name="ensureBuildDeps" depends="config-ivy">
+
+ <target name="ensureBuildDeps" depends="config-ivy" unless="rt-openjdk6.available">
<mkdir dir="lib/openJDK6Environment" />
<get src="https://projectlombok.org/ivyrepo/langtools/rt-openjdk6.jar" dest="lib/openJDK6Environment/rt-openjdk6.jar" verbose="true" usetimestamp="true" />
<ivy:resolve file="buildScripts/ivy.xml" refresh="true" conf="build, javac7" />