diff options
author | Reinier Zwitserloot <r.zwitserloot@projectlombok.org> | 2020-12-04 07:16:19 +0100 |
---|---|---|
committer | Reinier Zwitserloot <r.zwitserloot@projectlombok.org> | 2020-12-04 07:16:19 +0100 |
commit | 734b91ea97b825a8c323dabeba43ab45f5a54669 (patch) | |
tree | 620513df473de9504866f9d804cc3ce75ec95a8e /buildScripts/tests.ant.xml | |
parent | ea442e676c9a44aefef7e2c22ac546ffd32f87c1 (diff) | |
download | lombok-734b91ea97b825a8c323dabeba43ab45f5a54669.tar.gz lombok-734b91ea97b825a8c323dabeba43ab45f5a54669.tar.bz2 lombok-734b91ea97b825a8c323dabeba43ab45f5a54669.zip |
[build] build is now far less unreliable
Tiered compilation used to dump every stage into the same build dir, and included that dir on the classpath,
which means any ordering issues introduced into a build aren't going to result in a failed build,
thus breaking the build for everybody except those who already had a working lombok in their
build dir before starting a build. The opposite of bootstrapping, in other words.
Fixed by having each stage build into its own private stage phase.
Diffstat (limited to 'buildScripts/tests.ant.xml')
-rw-r--r-- | buildScripts/tests.ant.xml | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/buildScripts/tests.ant.xml b/buildScripts/tests.ant.xml index cb840048..41bfa391 100644 --- a/buildScripts/tests.ant.xml +++ b/buildScripts/tests.ant.xml @@ -33,8 +33,8 @@ This buildfile is part of projectlombok.org. It takes care of compiling and runn <bootclasspath path="${jdk6-rt.loc}" /> <classpath refid="cp.test" /> <classpath refid="cp.eclipse-oxygen" /> - <classpath location="build/lombok" /> - <classpath location="build/tests" /> + <classpath refid="packing.basedirs.path" /> + <classpath path="build/tests" /> <src path="test/core/src" /> <src path="test/transform/src" /> <src path="test/bytecode/src" /> @@ -84,7 +84,7 @@ This buildfile is part of projectlombok.org. It takes care of compiling and runn <classpath refid="cp.test" /> <classpath refid="cp.stripe" /> <classpath refid="cp.javac6" /> - <classpath location="build/lombok" /> + <classpath refid="packing.basedirs.path" /> <classpath location="build/tests" /> <test name="lombok.TestJavac" /> </junit> @@ -100,7 +100,7 @@ This buildfile is part of projectlombok.org. It takes care of compiling and runn <classpath refid="cp.test" /> <classpath refid="cp.stripe" /> <classpath refid="cp.javac8" /> - <classpath location="build/lombok" /> + <classpath refid="packing.basedirs.path" /> <classpath location="build/tests" /> <test name="lombok.TestJavac" /> </junit> @@ -117,7 +117,7 @@ This buildfile is part of projectlombok.org. It takes care of compiling and runn <formatter type="plain" usefile="false" unless="tests.quiet" /> <classpath refid="cp.test" /> <classpath refid="cp.stripe" /> - <classpath location="build/lombok" /> + <classpath refid="packing.basedirs.path" /> <classpath location="build/tests" /> <classpath location="build/teststubs" /> <test name="lombok.TestJavac" /> @@ -140,7 +140,7 @@ This buildfile is part of projectlombok.org. It takes care of compiling and runn <formatter type="plain" usefile="false" unless="tests.quiet" /> <classpath refid="cp.test" /> <classpath refid="cp.stripe" /> - <classpath location="build/lombok" /> + <classpath refid="packing.basedirs.path" /> <classpath location="build/tests" /> <classpath location="build/teststubs" /> <test name="lombok.TestJavac" /> @@ -160,7 +160,7 @@ This buildfile is part of projectlombok.org. It takes care of compiling and runn <classpath refid="cp.test" /> <classpath refid="cp.stripe" /> <classpath refid="cp.eclipse-@{version}" /> - <classpath location="build/lombok" /> + <classpath refid="packing.basedirs.path" /> <classpath location="build/tests" /> <test name="lombok.TestEclipse" /> </junit> |