Skip to content
Commits on Source (4)
lombok (1.16.22-3) unstable; urgency=medium
* Team upload.
* Update build.patch and ensure that -unpackLibs is executed during the
compile step. Otherwise ASM and lombok-patcher classes will be missing from
the resulting lombok.jar which makes lombok-ast FTBFS.
* Add remove-j9stub.patch to fix a module error.
-- Markus Koschany <apo@debian.org> Wed, 03 Oct 2018 15:40:08 +0200
lombok (1.16.22-2) unstable; urgency=medium
* Team upload.
......
Description: build
Author: Markus Koschany <apo@debian.org>
From: Markus Koschany <apo@debian.org>
Date: Wed, 3 Oct 2018 15:42:47 +0200
Subject: build
---
build.xml | 22 +++++++++++++++-------
1 file changed, 15 insertions(+), 7 deletions(-)
diff --git a/build.xml b/build.xml
index ed989fe..d27092b 100644
--- a/build.xml
+++ b/build.xml
@@ -37,6 +37,15 @@
@@ -37,6 +37,15 @@ the common tasks and can be called on to run the main aspects of all the sub-scr
<fileset dir="lib/build">
<include name="*.jar" />
</fileset>
......@@ -18,7 +26,7 @@ Author: Markus Koschany <apo@debian.org>
</path>
<path id="runtime.path">
@@ -87,14 +96,14 @@
@@ -87,14 +96,14 @@ the common tasks and can be called on to run the main aspects of all the sub-scr
<fail>A new version of ivyplusplus was required and has been downloaded. Rerun the script to continue.</fail>
</target>
......@@ -35,7 +43,7 @@ Author: Markus Koschany <apo@debian.org>
<target name="contrib" depends="config-ivy" description="Downloads various non-crucial documentation, sources, etc that are useful when developing lombok.ast.">
<ivy:resolve file="buildScripts/ivy.xml" refresh="true" conf="contrib, ecj7, ecj8, ecj9" />
@@ -117,8 +126,6 @@
@@ -117,8 +126,6 @@ the common tasks and can be called on to run the main aspects of all the sub-scr
</target>
<target name="ensureRuntimeDeps" depends="config-ivy">
......@@ -44,16 +52,25 @@ Author: Markus Koschany <apo@debian.org>
</target>
<target name="ensureTestDeps" depends="config-ivy">
@@ -176,7 +183,7 @@
@@ -155,7 +162,7 @@ the common tasks and can be called on to run the main aspects of all the sub-scr
<echo level="info">Lombok version: ${lombok.version} (${lombok.fullversion})</echo>
</target>
- <target name="-unpackLibs" depends="ensureRuntimeDeps">
+ <target name="-unpackLibs" depends="">
<ivy:cachedunjar dest="build/lombok" marker="build/unpackDeps.marker">
<path refid="runtime.path" />
</ivy:cachedunjar>
@@ -176,7 +183,7 @@ the common tasks and can be called on to run the main aspects of all the sub-scr
<fail if="java.version.insufficient">To compile lombok, you need JDK9 or higher; lombok requires this version because it's rather difficult to produce lombok builds that are compatible on JDK9 without at least building with JDK9. Sorry about that.</fail>
</target>
- <target name="compile" depends="version, ensureBuildDeps, -unpackLibs, -ensureJdk9" description="Compiles the code.">
+ <target name="compile" depends="-ensureJdk9" description="Compiles the code.">
+ <target name="compile" depends="-unpackLibs, -ensureJdk9" description="Compiles the code.">
<!-- ant includes the destination dir on the classpath (and there are good reasons to do this), but that also means
the bleeding edge lombok from the previous build is run, which means if there are bugs in it, you can't compile
anymore until you 'ant clean'. That's very much not desired, so we kill the processor, which stops lombok from running.
@@ -280,6 +287,7 @@
@@ -280,6 +287,7 @@ the common tasks and can be called on to run the main aspects of all the sub-scr
<include name="lombok/javac/**" />
<include name="lombok/delombok/**" />
<classpath location="build/lombok" />
......@@ -61,7 +78,7 @@ Author: Markus Koschany <apo@debian.org>
<classpath refid="build.path" />
</ivy:compile>
<delete dir="build/lombok-proc-result" quiet="true" />
@@ -318,7 +326,7 @@
@@ -318,7 +326,7 @@ lombok.launch.AnnotationProcessorHider$ClaimingProcessor,isolating</echo>
</ant>
</target>
......
From: Markus Koschany <apo@debian.org>
Date: Wed, 3 Oct 2018 16:49:47 +0200
Subject: remove j9stub
Apparently the Java 9 stub file is not needed anymore.
Fix a FTBFS due to
/build/lombok-1.16.22/src/j9stubs/org/mapstruct/ap/spi/AstModifyingAnnotationProcessor.java:21: error:
package javax.lang.model.type is not visible
[ivy:compile] import javax.lang.model.type.TypeMirror;
[ivy:compile] ^
[ivy:compile] (package javax.lang.model.type is declared in module java.compiler, but module
org.objectweb.asm does not read it)
Forwarded: no
---
build.xml | 3 ---
1 file changed, 3 deletions(-)
diff --git a/build.xml b/build.xml
index 15e1d9c..c7531c0 100644
--- a/build.xml
+++ b/build.xml
@@ -267,10 +267,7 @@ the common tasks and can be called on to run the main aspects of all the sub-scr
<compilerarg value="-Xlint:none" />
<!-- The above is because javac9 warns about 'service interface provided but not exported or used', probably because lombok uses SPI internally, and uses the 'old' classpath discovery system for it. We're fine with this, hence, ignore this warning. -->
<src path="src/core9" />
- <src path="src/j9stubs" />
- <!-- This includes org.mapstruct.ap.spi.AstModifyingAnnotationProcessor; putting this on the classpath doesn't work (needs to be internal or a module) so we just add it and then delete the class file for convenience. -->
</ivy:compile>
- <delete file="build/lombok/org/mapstruct/ap/spi/AstModifyingAnnotationProcessor.class" />
<ivy:compile destdir="build/lombok/Class50" source="1.5" target="1.6" ecj="true" nowarn="true" includeSystemBootclasspath="true">
<bootclasspath location="build/stubs" />
build.patch
java9-compatibility.patch
disable-java6-and-java7-support.patch
remove-j9stub.patch