From ea442e676c9a44aefef7e2c22ac546ffd32f87c1 Mon Sep 17 00:00:00 2001 From: Reinier Zwitserloot Date: Fri, 4 Dec 2020 05:03:36 +0100 Subject: [build] the build can now autoclean autocleaning means that the build system detects that the usual incremental mode, where the build artefacts are not deleted and instead used to skip steps already performed, is not an option due to changes in the build script itself or a change in deps not detectable. It works by having a version number which can be incremented, and a system that checks for mismatches and forces a clean. --- buildScripts/build-support.ant.xml | 2 +- buildScripts/compile.ant.xml | 8 ++++---- buildScripts/mapstructBinding.ant.xml | 2 +- buildScripts/maven.ant.xml | 2 +- buildScripts/setup.ant.xml | 34 ++++++++++++++++++++++++++++++++++ 5 files changed, 41 insertions(+), 7 deletions(-) (limited to 'buildScripts') diff --git a/buildScripts/build-support.ant.xml b/buildScripts/build-support.ant.xml index 107f5f47..d6439cb0 100644 --- a/buildScripts/build-support.ant.xml +++ b/buildScripts/build-support.ant.xml @@ -50,7 +50,7 @@ None of these tasks are normally needed, unless modifying how the build works, s You need to specify the JDK9+ jdk whose jdk.compiler and java.compiler modules are to be converted. Run ant with -Dtarget.jdk=/full/path/here to automate this, or type the path in now (for example: /Library/JavaVirtualMachines/jdk-14.jdk/Contents/Home): - + diff --git a/buildScripts/compile.ant.xml b/buildScripts/compile.ant.xml index 047558a5..c456ec75 100644 --- a/buildScripts/compile.ant.xml +++ b/buildScripts/compile.ant.xml @@ -27,7 +27,7 @@ This buildfile is part of projectlombok.org. It takes care of compiling and buil - + @@ -51,7 +51,7 @@ This buildfile is part of projectlombok.org. It takes care of compiling and buil Lombok version: ${lombok.version} (${lombok.fullversion}) - + - + @@ -294,7 +294,7 @@ lombok.launch.AnnotationProcessorHider$ClaimingProcessor,isolating - + diff --git a/buildScripts/mapstructBinding.ant.xml b/buildScripts/mapstructBinding.ant.xml index a78c5351..d7c52dc3 100644 --- a/buildScripts/mapstructBinding.ant.xml +++ b/buildScripts/mapstructBinding.ant.xml @@ -26,7 +26,7 @@ version on mavencentral is the last version that is ever needed; the code itself exists as a separate dependency solely because it is itself dependent on both lombok and mapstruct. - + diff --git a/buildScripts/maven.ant.xml b/buildScripts/maven.ant.xml index dcba2ccb..57bb6b99 100644 --- a/buildScripts/maven.ant.xml +++ b/buildScripts/maven.ant.xml @@ -59,7 +59,7 @@ This buildfile is part of projectlombok.org. It makes maven-compatible repositor - + diff --git a/buildScripts/setup.ant.xml b/buildScripts/setup.ant.xml index ed835960..7875f27d 100644 --- a/buildScripts/setup.ant.xml +++ b/buildScripts/setup.ant.xml @@ -24,6 +24,9 @@ This buildfile is part of projectlombok.org. It sets up the build itself. + + + @@ -84,6 +87,37 @@ This buildfile is part of projectlombok.org. It sets up the build itself. + + + + + + + + + + 0 + + + + + + + + + + + + + build ver has been incremented, neccessitating a clean... + + + + + + ${build.version} + + -- cgit