Commit Graph
238 Commits
Author SHA1 Message Date
Reinier Zwitserloot 5e8337f457 [Fixes #3179] createMavenECJBootstrap was broken 2022-04-21 14:17:47 +02:00
Reinier Zwitserloot 2c892a4170 [build] [trivial] Add a description for the main release target 2022-04-18 04:30:12 +02:00
Reinier Zwitserloot 773b374340 [build] Replace JDK test targets from v14 en v16 to v17 (LTS) and v18 (just released) 2022-04-04 02:49:25 +02:00
Reinier Zwitserloot 05493887f6 [build] It was ever so slightly broken since last commit. fixed. 2022-04-04 02:49:00 +02:00
Reinier Zwitserloot c8607ba782 [#3143] Review and update jopatai's work on the maven/ecj agent jar
* Update copyright headers
* Update code style (tabs, not spaces, spaces around + operator - that's about it)
* Use `x.class.getResourceAsStream`, not `x.getClass().` - minor mostly irrelevant nit.
* Rename and re-locate the jar itself.
* 'ecj' as an alias for this command seems a bit too cavalier' removed it.
* The source is in its own 'root' src dir, it doesn't really fit in the eclipse agent sources - it's more a maven agent.
* Fixed a bug where a filehandle wasn't safe closed. Mostly irrelevant (JVM would quite afterwards anyway).
* Slight rewording of the ecj docs.
2022-04-02 06:12:50 +02:00
JohnPaulTaylorII 110434ff60 [fixes #3143] Maven+ECJ Agent Bootstrap
* Adds AgentBootstrap, the actual bootstrapping agent
* Adds MavenEcjBootstrapApp, the command line app for generating the
appropriate files
* Updates the build to package these correctly
* Updates the documentation for setup/ecj
2022-03-18 17:10:08 -04:00
Reinier Zwitserloot e1b9975185 [build] Accidentally broke it an hour ago 2022-03-17 23:33:41 +01:00
Reinier Zwitserloot 582980a9f0 Merge branch 'jdk18' of https://github.com/Rawi01/lombok into Rawi01-jdk18 2022-03-17 22:13:00 +01:00
Reinier Zwitserloot e0bbaff0a8 [deps] make lombok.patcher v0.44 available 2022-03-17 22:12:22 +01:00
Rawi01 75d4e7bba8 [jdk18] Bump lombok.patcher version 2022-03-08 07:26:49 +01:00
Roel Spilker 408e3b9ba2 doc footer </i> 2022-01-29 01:14:00 +01:00
Roel Spilker 1c9d18e723 no more -website.clientdeps 2022-01-28 12:02:13 +01:00
Roel Spilker 436f1c3d38 get modernizer from cdn 2022-01-27 14:44:29 +01:00
Roel Spilker 49545292ae use cdn jquery + update 2022-01-27 14:44:29 +01:00
Reinier Zwitserloot 6f351dfe1a [build] Generation of the javadoc was broken
We've split up the build dirs for various phases of the lombok compile process,
and evidently `javadoc` doesn't work unless it can find all types involved on the classpath,
even for types that only show up internally. I was thinking javadoc should just look at
(protected/public) signatures, not internals, but, alas.
2022-01-25 16:49:18 +01:00
Reinier Zwitserloot f6ba470099 [fixes #2860] [build] creating intellij project structure was broken.
I've no idea if this produces a working intellij project, but at least it doesn't fail during the build.
2022-01-23 10:07:52 +01:00
Reinier Zwitserloot 97f7d98cdb [log4j] one more log4j update. Again, lombok is not and never was vulnerable, just ensuring your vulnerability scanners dont give off false positives. 2022-01-16 03:42:11 +01:00
Roel Spilker 3d43feb2c0 Help eclipse compile >java6 code 2021-12-20 22:22:09 +01:00
Reinier Zwitserloot 932c939f67 [#3063] Whilst lombok is not vulnerable to Log4Shell, we do have the dependency on log4j, solely for testing purposes, and no user input is ever logged with it. Nevertheless, pushing the dep to 2.17 to avoid false positives from vulnerability scanners ruining the day. 2021-12-18 17:47:22 +01:00
Reinier Zwitserloot c10b47a5d1 [#3063] Whilst lombok is not vulnerable to Log4Shell, we do have the dependency on log4j, solely for testing purposes, and no user input is ever logged with it. Nevertheless, pushing the dep to 2.16 to avoid false positives from vulnerability scanners ruining the day. 2021-12-16 21:35:37 +01:00
Reinier Zwitserloot 41a90527d3 [fixes #3063] Bump log4j2 dep version to avoid needless security warnings from dep scanners - lombok is not affected by CVE-2021-44228. 2021-12-12 01:14:04 +01:00
Rawi01 553b25addd [fixes #2985] Resolve var/val only once in eclipse 2021-10-22 09:24:17 +02:00
Roel Spilker 6758714ed5 Change owner lombok GitHub repository 2021-04-23 00:01:55 +02:00
Reinier Zwitserloot 3d7754e269 [testing] wahey, ecj testing works again, and now we can test JDK16 features in it! 2021-03-23 06:01:50 +01:00
Reinier Zwitserloot 3400f66fa7 [deps] pushing ASM to 9.1, and ASM opcode compat levels to ASM9, as we need the support for records 2021-03-22 11:38:56 +01:00
Reinier Zwitserloot 251b7541b7 [build] broke the distribution. 2021-03-19 03:28:31 +01:00
Reinier Zwitserloot 88f8cdb3a2 [build] remove some errors in eclipse.
The ant task we use for streaming test reporting in the ant script needs deps we don't wanna include in eclipse, so I moved it to a src dir that we don't include in eclipse by default.
2021-03-19 03:17:39 +01:00
Reinier Zwitserloot 5241235b99 [testing] add a test.javac16 2021-03-19 03:17:39 +01:00
Reinier Zwitserloot e69d0b143e [testing] fix vm-finder on macs. 2021-03-19 03:17:38 +01:00
Reinier Zwitserloot 9498849d69 [testing] Fixing running older tests.
the new formatter is nice, but needed to be compile with 1.6, otherwise running junit on older VMs doesn't work.
2021-03-19 03:17:38 +01:00
Reinier Zwitserloot ccd6a4e895 [testing] made the test script a bit more consistent 2021-03-19 02:20:44 +01:00
Reinier Zwitserloot dcb7efcc0e [testing] improve the output of ant test. 2021-03-19 02:14:24 +01:00
Reinier Zwitserloot 0c6a243c8e [build] quality-of-life improvements for lombok dev on windows
On windows, Eclipse keeps annotation processors open, which means putting spiProcessor in 'build' is annoying, as you can't delete open files on windows. Fixed by moving it to dist
2021-03-19 02:14:24 +01:00
Reinier Zwitserloot 27f3917d89 [testing] now that we've patched lombok to work in j16, no need for the --add-opens lines anymore. 2021-03-19 02:14:24 +01:00
Reinier Zwitserloot 6723525c4a [testing] unbroke 'ant test.javac8'. 2021-03-19 02:14:24 +01:00
Reinier Zwitserloot 15a28add9d [build] the new spi processor didn't handle inner types used as SPI targets. 2021-03-18 23:18:54 +01:00
Reinier Zwitserloot 24c1a1ed54 [typo] oh dear, I broke the build again. 2021-03-18 21:33:59 +01:00
Reinier Zwitserloot c04941f11c [build] Further adjustments to the 'ant intellij' target.
As I don't use intellij, no idea if it works. Feedback welcome!
2021-03-17 12:50:28 +01:00
Reinier Zwitserloot 58693486f0 [build] Fixed the ant eclipse and ant intellij targets. 2021-03-17 12:46:34 +01:00
Reinier Zwitserloot 476a43b970 [build] sped up the build considerable.
We used to use the mango SPI processor, but this had two major issues:
* ecj wouldn't run annotation processors, requiring a separate proc:only compile run with javac
* mangoSPI couldn't do incremental compilation, so this required a full rebuild just to generate SPI files, every time.

Addressed by updating to IPP40 which does support explicit annotation processors even for ecj, and
adding our own SPI generating annotation processor to the build which can deal with incrementals.

There are some limits; removing a `@Provides` annotation on an existing type will need a full clean to pick that up, for example.
These limits seem quite exotic, though.
2021-03-16 17:09:13 +01:00
Reinier Zwitserloot a2ebb4ce36 [test] work in progress: Make test.javac6 pass all tests.
The `test.javac6` job causes a ton of errors because many tests use java8+ features. Marking them off as java8+ targeted only.
2021-03-13 04:20:47 +01:00
Reinier Zwitserloot f8c16ed8ac [tests] fix tests on java6/7 2021-03-05 08:06:46 +01:00
Reinier Zwitserloot eebc5f4e85 [javac6] replacing calls to ListBuffer add/addAll to the append variants; add/addAll do not work in j6. 2021-03-05 06:44:35 +01:00
Reinier Zwitserloot b9f1f50b8e [versioning] pre-release version bump of the changelog as well 2021-01-28 23:16:26 +01:00
Reinier Zwitserloot 8ba5df7161 [trivial] hey, setting automatic module name is probably a good idea. Can't hurt. 2020-12-22 19:31:53 +01:00
Reinier Zwitserloot 734b91ea97 [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.
2020-12-04 07:16:19 +01:00
Reinier Zwitserloot ea442e676c [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.
2020-12-04 07:14:14 +01:00
Reinier Zwitserloot 59bf969500 [build] bugfix for mapstructBinding build 2020-12-04 05:01:58 +01:00
Reinier Zwitserloot da2c793083 [build] added a publish target for the mapstruct binding jar 2020-12-04 04:15:08 +01:00
Roel Spilker 8cfe4c73fa [build] #2616 have lombok-mapstruct-binding contain a java module file and java8 class files. 2020-12-04 01:14:38 +01:00