Commit Graph
193 Commits
Author SHA1 Message Date
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
Roel Spilker b59db90acf #2616 attempt to have java9 modules and java8 class files 2020-12-04 00:39:54 +01:00
Reinier Zwitserloot 065616aea1 [#2599] Completely rewrite how we decide whether it's ecj or eclipse for patching 2020-10-15 23:22:16 +02:00
Reinier Zwitserloot 2666a923e6 [deps] bumped lombok.patcher dep to v0.38, which adds ASM9 support.
This makes lombok better at handling e.g. javac15.
2020-10-08 20:10:52 +02:00
Reinier Zwitserloot 1ced413ccb [deps] added some deps used during eclipse testing. 2020-09-24 22:15:31 +02:00
Reinier Zwitserloot f6a6f9deb5 [trivial] [typo] 2020-09-18 03:43:42 +02:00
Reinier Zwitserloot 9d45a506b1 [build] eclipse test target for Javac8 fixed
javac8 has a bizarre dependency situation: we need the stubs in src/stubs there to compile, but if they are there
at runtime during a test run of javac8, they take precedence over the JDK's javac (because we include this
as a separate cp entry, and thus it is not a bootclasspath item), and messes everything up.
The fix is to tell eclipse to compile various src/X folders to different 'bin' targets, which required
an update to ivyplusplus as well.

also it was just broken in general, fixed that too :)
2020-09-18 01:00:24 +02:00
Reinier Zwitserloot 9148294f78 [testing] [eclipse] [#2413] Eclipse tests now more expansive
We now test generating a level2-DOM from our level1-AST (eclipse has 3 levels of ASTs, more or less), only if
that is possible, i.e. only if the full eclipse is available. This requires using a test target named `eclipse-X`, and not
one of the `ecjX` ones. This is the change that requires the massive update to the build system. About 6 tests,
including a newly added one about @Delegate, now fail. These failures would usually not cause instant failure in
eclipse, but can cause errors during save actions and will likely mess with other things in weird ways, such as
messing up syntax highlighting.

Yes, this commit now makes a bunch of cases fail the unit tests, but that is representative of actual errors in lombok,
so I'm checking it in as is (without this commit, the problem is still there, the tests are just incapable of detecting it).
2020-08-29 04:14:10 +02:00
Reinier ZwitserlootandGitHub 409f0428c7 Merge pull request #2548 from rosti-il/master
Fix tests under Windows, fix test.javac11 and test.javac14, fix issue #1745
2020-08-28 00:27:33 +02:00
Reinier Zwitserloot 6088e6e3d6 [build] added ant website.open
this serves the site locally and opens your browser
2020-08-28 00:15:55 +02:00
Rostislav Krasny 79c3d383fd Fix tests under Windows, fix test.javac11 and test.javac14, fix issue #1745
The change of the TestConfiguration.java is based on the fact that
Git for Windows is configured with 'core.autocrlf=true' by default.
2020-08-18 04:09:25 +03:00
Reinier Zwitserloot 7dfbe4323c [tests] fixed the 'ant test.javac' tests. 2020-07-24 00:35:33 +02:00
Reinier Zwitserloot 18222922da [tests] command line 'ant test.eclipse' fixed 2020-07-24 00:27:36 +02:00
Reinier Zwitserloot a0eb13a478 [test] bugfix for the 'dist' step 2020-07-23 23:51:50 +02:00
Reinier Zwitserloot 2f397d7c95 [tests] only add agent VM args for ECJ/Eclipse tests 2020-07-23 23:40:33 +02:00
Reinier Zwitserloot 88d4c1e54c [build] [wip] the eclipse debug targets still aren't entirely correct. 2020-07-03 17:50:44 +02:00
Reinier Zwitserloot cb7e4a9ef3 [build] propagate chosen bootclasspath into eclipse test targets 2020-07-03 05:34:30 +02:00
Reinier Zwitserloot 88918e9eb3 [build] fixed a build issue (on 'ant dist') on windows.
apparently on windows symlinking requires admin rights because ?????
This can be fixed with an explicit update to group policies, which I
can't assume anybody working on lombok is going to actually do.
/bin/ln in msysgit just copies (interesting choice). I could write a mechanism
that tries /bin/ln and if not there, try <copy> instead, either in the build scripts
or in ivyplusplus, but that's way too much effort to avoid a 2MB copy. So,
for now, we just copy... if more symlinking is to be done later, we'll revisit, though.
copying is such a silly waste of time, slowing down the build for no reason.
2020-07-02 23:34:54 +02:00
Reinier Zwitserloot 0f1c950b77 [build] [mapstructBinding] 2020-06-25 23:31:13 +02:00
Reinier Zwitserloot 0bbedd092a [build] rewriting the build system 2020-06-23 15:55:18 +02:00
Roel Spilker 0401f49fa6 Update org.eclipse dependencies, fixes #2363 2020-03-05 22:53:52 +01:00
Reinier Zwitserloot 635a32258e [eclipse-p2] the eclipse p2 site is now selfsigned. 2020-03-05 22:47:54 +01:00
Reinier Zwitserloot 59aa676111 [eclipse-p2] create a p2 eclipse update site 2020-02-28 19:25:30 +01:00
Reinier Zwitserloot eabffab091 [deps] added explicit link to lombok.patcher-0.36 2019-12-11 00:41:19 +01:00
Reinier Zwitserloot ea01e1c319 [deps] updated version on lombok.patcher in order to get ASM 7.2 2019-12-11 00:07:59 +01:00
Reinier Zwitserloot 2fd318886e [jdk13] upgrading the patcher dep, which has the j13+ ASM dep built in 2019-09-25 01:16:01 +02:00
Jan MatèrneandReinier Zwitserloot 38a48e8a85 Use dynamic year-value for JavaDoc-Copyright 2019-08-22 23:29:17 +02:00
Reinier Zwitserloot ec543dff8e [javadoc] new javadoc tools, new boneheaded mistakes. Seemingly nobody gives a toss about this tool over at oracle? Used some hacks to work around the worst offenses. 2019-03-25 21:26:09 +01:00
Reinier Zwitserloot f3ead31326 Upgraded lombok.patcher dep 2019-01-10 11:40:26 +01:00
Roel Spilker ca46f98beb Serve dependencies instead of using a CDN. Fixes #1964. 2018-12-18 00:38:25 +01:00
Reinier Zwitserloot b00c0b0bf9 [deps] updated dep versions. 2018-12-17 23:25:21 +01:00
Roel Spilker 182cb0cb9e [java-11] up dependency on lombok.patcher, including asm7 2018-10-29 21:30:27 +01:00
Reinier Zwitserloot c896f24278 [build] Fixing running tests via ant test, setting up the build, and a few other build-related issues. 2018-10-15 21:16:06 +02:00
Reinier Zwitserloot db91eb8e9c Fully integrating ‘ant edge-release’ to include updating the site, our mavenrepo on projectlombok.org, and the branch on git. 2018-09-10 22:42:08 +02:00
Reinier Zwitserloot 7319256a37 [website] some work on releasing edge and updating git. 2018-09-10 22:24:48 +02:00
Reinier Zwitserloot 8c28302705 Upgraded our objectweb ASM dep and moved API level up to 6, to avoid a ‘this feature requires ASM5’ error that occurs when patching recent eclipse releases. 2018-09-10 22:24:48 +02:00
Reinier Zwitserloot b60541526c running the edge-release task also sets the git tag now. 2018-09-04 02:03:18 +02:00
Reinier Zwitserloot 769185e123 [#1806] Potential fix for java 11 in regards to module system. 2018-08-21 01:03:59 +02:00
Reinier Zwitserloot 370705e7e1 Fixex #1697: google’s FluentLogger (Flogger) now available as one of lombok’s log annotations. 2018-06-04 22:18:54 +02:00
Reinier Zwitserloot 2c9c2fefdb Upgraded lombok.patcher dep to 0.26. (Which updates ASM to be Java10/11 compatible). 2018-05-28 22:29:27 +02:00
Reinier Zwitserloot 2f1a26b606 [website] added supporters infrastructure. 2018-03-11 16:57:22 +01:00
Reinier Zwitserloot cc55391a75 Website updated to list supporters on the website. 2018-03-11 12:17:14 +01:00
Reinier Zwitserloot 116a9dbb75 [compiling] running the ant compile job now no longer emits any warnings. Each warning that was emitted has been addressed, or analysed and suppressed. 2018-02-06 06:20:44 +01:00
Reinier Zwitserloot 6e7f75eb77 Updated copyright notices to 2018. 2018-01-09 00:54:17 +01:00
Reinier Zwitserloot 273cb83ef3 build script for edge release updated 2017-12-12 06:30:39 +01:00
Reinier Zwitserloot ae22bb617b Updated to new in ivy++ scp/ssh tasks. 2017-12-12 06:03:34 +01:00