aboutsummaryrefslogtreecommitdiff
path: root/buildScripts/compile.ant.xml
AgeCommit message (Collapse)Author
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] unbroke 'ant test.javac8'.Reinier Zwitserloot
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.
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] #2616 have lombok-mapstruct-binding contain a java module file and ↵Roel Spilker
java8 class files.
2020-07-23[test] bugfix for the 'dist' stepReinier 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-23[build] rewriting the build systemReinier Zwitserloot
2010-07-12Changed build system to ivy.Reinier Zwitserloot
2009-12-23ecj prep: lombok.jar is now also a dynamic agent, and the main annotation ↵Reinier Zwitserloot
processor is now the core processor that farms out the work to context-specific implementations.
2009-12-12Added -Xlint:unchecked to ant compile.Reinier Zwitserloot
2009-12-01Generalized the agent mechanism; now 1 lombok.jar can serve as the agent for ↵Reinier Zwitserloot
BOTH netbeans AND eclipse, and is future-ready for an IntelliJ agent.
2009-12-01Added compiling of src/netbeansAgent, and temporarily set Agent-Class to ↵Reinier Zwitserloot
netbeans agent. Will need to find a solution for a generic be-everything agent.
2009-11-28The licence file is now also copied into the jar, as well as to the website.Reinier Zwitserloot
2009-11-27Fix on the previous commit involving the compile build script: delombok is ↵Reinier Zwitserloot
now actually compiled. heh.
2009-11-27Solved the problem in the two-phase compile (some of lombok is JVM1.5, other ↵Reinier Zwitserloot
bits are JVM1.6) being interdependent and causing implicit compilation warnings. Also added source="1.x" to all ant file javac targets, as apparently this needs to be there when compiling with JDK7.
2009-11-27Added delombok to the build scripts.Reinier Zwitserloot
2009-11-25Refactored the source folders.Reinier Zwitserloot
2009-11-08Added a findbugs ant target, along with an installDeps job to automatically ↵Reinier Zwitserloot
fetch and unpack findbugs from its sourceforge repository. Still need to figure out how to maintain a list of findbugs warnings that findbugs should be ignoring.
2009-10-18Whoops - previous includeDestClasses change actually breaks the build, as ↵Reinier Zwitserloot
the lombok/javac build triggers building everything, making lombok dependent on 1.6, which is not good for eclipse.
2009-10-17Slight fix to generation of SPI files during repeated builds.Reinier Zwitserloot
2009-10-17Fixes to the buildScripts, and disableCheckedExceptions now works.Reinier Zwitserloot
2009-10-13Pretty big revamp of the build script system. Downloading dependencies is ↵Reinier Zwitserloot
now done automatically by this script, which also means that e.g. lombok-patcher.jar no longer needs to be checked in.
2009-10-11Integrated lombok.jar and lombok.eclipse.agent.jar into one jar that ↵Reinier Zwitserloot
installs, is a javac apt processor, and an agent, all at once.
2009-10-07build.xml was getting rather large, so its been split up into separate ↵Reinier Zwitserloot
scripts. The scripts have also gained the ability to build certain dependencies, such as lombok.patcher which is being worked on in tandem with this project, automatically. Also, the deps system has been changed slightly; the agents builds and the main lombok build now all work off of a single dependency directory. Also removed the website/publish script, as we haven't used github's project hosting for some time now.