Package: lombok / 1.16.22-7

build.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
From: Markus Koschany <apo@debian.org>
Date: Wed, 3 Oct 2018 15:42:47 +0200
Subject: build
--- a/build.xml
+++ b/build.xml
@@ -37,6 +37,16 @@
 		<fileset dir="lib/build">
 			<include name="*.jar" />
 		</fileset>
+		<fileset dir="/usr/share/java">
+			<include name="eclipse-core-jobs.jar" />
+			<include name="eclipse-core-runtime.jar" />
+			<include name="eclipse-core-resources.jar" />
+			<include name="eclipse-jdt-core.jar" />
+			<include name="eclipse-jdt-core-manipulation.jar" />
+			<include name="eclipse-jdt-ui.jar" />
+			<include name="eclipse-jface-text.jar" />
+			<include name="equinox-common.jar" />
+		</fileset>
 	</path>
 	
 	<path id="runtime.path">
@@ -87,14 +97,14 @@
 		<fail>A new version of ivyplusplus was required and has been downloaded. Rerun the script to continue.</fail>
 	</target>
 	
-	<target name="ensure-ipp" depends="load-ipp, redownload-ipp" />
+	<target name="ensure-ipp" />
 	
 	<target name="config-ivy" depends="ensure-ipp" unless="ivy.config">
 		<ivy:configure file="buildScripts/ivysettings.xml" />
 		<property name="ivy.config" value="true" />
 	</target>
 	
-	<target name="deps" depends="ensureBuildDeps, ensureRuntimeDeps, ensureTestDeps, contrib" description="Downloads all dependencies." />
+	<target name="deps" depends="" description="Do not download anything" />
 	
 	<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 +127,6 @@
 	</target>
 	
 	<target name="ensureRuntimeDeps" depends="config-ivy">
-		<ivy:resolve file="buildScripts/ivy.xml" refresh="true" conf="runtime" />
-		<ivy:retrieve />
 	</target>
 	
 	<target name="ensureTestDeps" depends="config-ivy">
@@ -155,7 +163,7 @@
 		<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 +184,7 @@
 		<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="-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 +288,7 @@
 			<include name="lombok/javac/**" />
 			<include name="lombok/delombok/**" />
 			<classpath location="build/lombok" />
+			<classpath location="build/stubsstubs" />
 			<classpath refid="build.path" />
 		</ivy:compile>
 		<delete dir="build/lombok-proc-result" quiet="true" />
@@ -318,7 +327,7 @@
 		</ant>
 	</target>
 	
-	<target name="dist" description="Builds THE lombok.jar file which contains everything." depends="version, compile, -latestChanges">
+	<target name="dist" description="Builds THE lombok.jar file which contains everything." depends="version, compile">
 		<mkdir dir="dist" />
 		<copy file="doc/changelog.markdown" tofile="build/changelog.txt" />
 		<tstamp>