From 734b91ea97b825a8c323dabeba43ab45f5a54669 Mon Sep 17 00:00:00 2001 From: Reinier Zwitserloot Date: Fri, 4 Dec 2020 07:16:19 +0100 Subject: [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. --- buildScripts/compile.ant.xml | 97 ++++++++++++++++++++++++-------------------- buildScripts/setup.ant.xml | 2 +- buildScripts/tests.ant.xml | 14 +++---- buildScripts/website.ant.xml | 2 +- 4 files changed, 63 insertions(+), 52 deletions(-) (limited to 'buildScripts') diff --git a/buildScripts/compile.ant.xml b/buildScripts/compile.ant.xml index c456ec75..54017496 100644 --- a/buildScripts/compile.ant.xml +++ b/buildScripts/compile.ant.xml @@ -28,15 +28,14 @@ This buildfile is part of projectlombok.org. It takes care of compiling and buil - - + @@ -44,18 +43,30 @@ This buildfile is part of projectlombok.org. It takes care of compiling and buil Lombok version: ${lombok.version} (${lombok.fullversion}) + + + + + + + + + + + + @@ -65,7 +76,7 @@ This buildfile is part of projectlombok.org. It takes care of compiling and buil the bleeding edge lombok from the previous build is run (as lombok is an annotation processor), which means if there are bugs in it, you can't compile anymore until you 'ant clean'. That's very undesirable. so we kill the processor, which stops lombok from running. We re-create the file at the end of this target. --> - + - + @@ -148,40 +159,39 @@ This buildfile is part of projectlombok.org. It takes care of compiling and buil - + - + - + - + - + - + - @@ -196,24 +206,26 @@ This buildfile is part of projectlombok.org. It takes care of compiling and buil - + - + + + - - - lombok.launch.AnnotationProcessorHider$AnnotationProcessor + + + lombok.launch.AnnotationProcessorHider$AnnotationProcessor lombok.launch.AnnotationProcessorHider$ClaimingProcessor - - lombok.launch.AnnotationProcessorHider$AnnotationProcessor,isolating + + lombok.launch.AnnotationProcessorHider$AnnotationProcessor,isolating lombok.launch.AnnotationProcessorHider$ClaimingProcessor,isolating @@ -226,7 +238,7 @@ lombok.launch.AnnotationProcessorHider$ClaimingProcessor,isolating - + @@ -248,7 +260,7 @@ lombok.launch.AnnotationProcessorHider$ClaimingProcessor,isolating lombok classes served up in autocomplete dialogs, amongst other reasons. Thus, we list here only the few class files that serve as 'entry points'. --> - + @@ -257,21 +269,20 @@ lombok.launch.AnnotationProcessorHider$ClaimingProcessor,isolating - + + + + - + + + + + - - - - - - - - - - - + + + diff --git a/buildScripts/setup.ant.xml b/buildScripts/setup.ant.xml index 7875f27d..e71f8143 100644 --- a/buildScripts/setup.ant.xml +++ b/buildScripts/setup.ant.xml @@ -25,7 +25,7 @@ This buildfile is part of projectlombok.org. It sets up the build itself. - + 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 - - + + @@ -84,7 +84,7 @@ This buildfile is part of projectlombok.org. It takes care of compiling and runn - + @@ -100,7 +100,7 @@ This buildfile is part of projectlombok.org. It takes care of compiling and runn - + @@ -117,7 +117,7 @@ This buildfile is part of projectlombok.org. It takes care of compiling and runn - + @@ -140,7 +140,7 @@ This buildfile is part of projectlombok.org. It takes care of compiling and runn - + @@ -160,7 +160,7 @@ This buildfile is part of projectlombok.org. It takes care of compiling and runn - + diff --git a/buildScripts/website.ant.xml b/buildScripts/website.ant.xml index 730b79c2..63ac2e8d 100644 --- a/buildScripts/website.ant.xml +++ b/buildScripts/website.ant.xml @@ -217,7 +217,7 @@ such as applying the templates to produce the website, converting the changelog - +
Lombok - ]]>v${lombok.version}
Copyright © 2009-${javadoc.year} The Project Lombok Authors, licensed under the MIT licence.]]> -- cgit