aboutsummaryrefslogtreecommitdiff
path: root/buildScripts
AgeCommit message (Collapse)Author
2021-12-12[fixes #3063] Bump log4j2 dep version to avoid needless security warnings ↵Reinier Zwitserloot
from dep scanners - lombok is not affected by CVE-2021-44228.
2021-10-22[fixes #2985] Resolve var/val only once in eclipseRawi01
2021-04-23Change owner lombok GitHub repositoryRoel Spilker
2021-03-23[testing] wahey, ecj testing works again, and now we can test JDK16 features ↵Reinier Zwitserloot
in it!
2021-03-22[deps] pushing ASM to 9.1, and ASM opcode compat levels to ASM9, as we need ↵Reinier Zwitserloot
the support for records
2021-03-19[build] broke the distribution.Reinier Zwitserloot
2021-03-19[build] remove some errors in eclipse.Reinier Zwitserloot
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[testing] add a test.javac16Reinier Zwitserloot
2021-03-19[testing] fix vm-finder on macs.Reinier Zwitserloot
2021-03-19[testing] Fixing running older tests.Reinier Zwitserloot
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[testing] made the test script a bit more consistentReinier Zwitserloot
2021-03-19[testing] improve the output of `ant test`.Reinier Zwitserloot
2021-03-19[build] quality-of-life improvements for lombok dev on windowsReinier Zwitserloot
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[testing] now that we've patched lombok to work in j16, no need for the ↵Reinier Zwitserloot
--add-opens lines anymore.
2021-03-19[testing] unbroke 'ant test.javac8'.Reinier Zwitserloot
2021-03-18[build] the new spi processor didn't handle inner types used as SPI targets.Reinier Zwitserloot
2021-03-18[typo] oh dear, I broke the build again.Reinier Zwitserloot
2021-03-17[build] Further adjustments to the 'ant intellij' target.Reinier Zwitserloot
As I don't use intellij, no idea if it works. Feedback welcome!
2021-03-17[build] Fixed the ant eclipse and ant intellij targets.Reinier Zwitserloot
2021-03-16[build] sped up the build considerable.Reinier Zwitserloot
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-13[test] work in progress: Make test.javac6 pass all tests.Reinier Zwitserloot
The `test.javac6` job causes a ton of errors because many tests use java8+ features. Marking them off as java8+ targeted only.
2021-03-05[tests] fix tests on java6/7Reinier Zwitserloot
2021-03-05[javac6] replacing calls to ListBuffer add/addAll to the append variants; ↵Reinier Zwitserloot
add/addAll do not work in j6.
2021-01-28[versioning] pre-release version bump of the changelog as wellReinier Zwitserloot
2020-12-22[trivial] hey, setting automatic module name is probably a good idea. Can't ↵Reinier Zwitserloot
hurt.
2020-12-04[build] build is now far less unreliableReinier Zwitserloot
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[build] the build can now autocleanReinier Zwitserloot
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[build] bugfix for mapstructBinding buildReinier Zwitserloot
2020-12-04[build] added a publish target for the mapstruct binding jarReinier Zwitserloot
2020-12-04[build] #2616 have lombok-mapstruct-binding contain a java module file and ↵Roel Spilker
java8 class files.
2020-12-04#2616 attempt to have java9 modules and java8 class filesRoel Spilker
2020-10-15[#2599] Completely rewrite how we decide whether it's ecj or eclipse for ↵Reinier Zwitserloot
patching
2020-10-08[deps] bumped lombok.patcher dep to v0.38, which adds ASM9 support.Reinier Zwitserloot
This makes lombok better at handling e.g. javac15.
2020-09-24[deps] added some deps used during eclipse testing.Reinier Zwitserloot
2020-09-18[trivial] [typo]Reinier Zwitserloot
2020-09-18[build] eclipse test target for Javac8 fixedReinier Zwitserloot
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-08-29[testing] [eclipse] [#2413] Eclipse tests now more expansiveReinier Zwitserloot
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-28Merge pull request #2548 from rosti-il/masterReinier Zwitserloot
Fix tests under Windows, fix test.javac11 and test.javac14, fix issue #1745
2020-08-28[build] added ant website.openReinier Zwitserloot
this serves the site locally and opens your browser
2020-08-18Fix tests under Windows, fix test.javac11 and test.javac14, fix issue #1745Rostislav Krasny
The change of the TestConfiguration.java is based on the fact that Git for Windows is configured with 'core.autocrlf=true' by default.
2020-07-24[tests] fixed the 'ant test.javac' tests.Reinier Zwitserloot
2020-07-24[tests] command line 'ant test.eclipse' fixedReinier Zwitserloot
2020-07-23[test] bugfix for the 'dist' stepReinier Zwitserloot
2020-07-23[tests] only add agent VM args for ECJ/Eclipse testsReinier Zwitserloot
2020-07-03[build] [wip] the eclipse debug targets still aren't entirely correct.Reinier Zwitserloot
2020-07-03[build] propagate chosen bootclasspath into eclipse test targetsReinier Zwitserloot
2020-07-02[build] fixed a build issue (on 'ant dist') on windows.Reinier Zwitserloot
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-06-25[build] [mapstructBinding]Reinier Zwitserloot
2020-06-23[build] rewriting the build systemReinier Zwitserloot
2020-03-05Update org.eclipse dependencies, fixes #2363Roel Spilker