From 0c6a243c8ec7ef7a1a432b17cd865a1f54a3b827 Mon Sep 17 00:00:00 2001 From: Reinier Zwitserloot Date: Fri, 19 Mar 2021 01:54:38 +0100 Subject: [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 --- buildScripts/compile.ant.xml | 6 +++--- buildScripts/create-eclipse-project.ant.xml | 2 +- buildScripts/create-intellij-project.ant.xml | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/buildScripts/compile.ant.xml b/buildScripts/compile.ant.xml index cd0672b5..b87caa51 100644 --- a/buildScripts/compile.ant.xml +++ b/buildScripts/compile.ant.xml @@ -69,7 +69,7 @@ This buildfile is part of projectlombok.org. It takes care of compiling and buil lombok.spi.SpiProcessor - + @@ -172,8 +172,8 @@ This buildfile is part of projectlombok.org. It takes care of compiling and buil - - + + diff --git a/buildScripts/create-eclipse-project.ant.xml b/buildScripts/create-eclipse-project.ant.xml index 0892340e..a9b1a5dc 100644 --- a/buildScripts/create-eclipse-project.ant.xml +++ b/buildScripts/create-eclipse-project.ant.xml @@ -53,7 +53,7 @@ This buildfile is part of projectlombok.org. It creates the infrastructure neede - + diff --git a/buildScripts/create-intellij-project.ant.xml b/buildScripts/create-intellij-project.ant.xml index 54594206..33c1e449 100644 --- a/buildScripts/create-intellij-project.ant.xml +++ b/buildScripts/create-intellij-project.ant.xml @@ -29,7 +29,7 @@ This buildfile is part of projectlombok.org. It creates the infrastructure neede NOT IMPLEMENTED: The project should optimally be configured as a java1.6, using the rt.jar in lib/openjdk6_rt.jar as boot basis, to ensure lombok remains 1.6 compatible. NOT IMPLEMENTED: Ability to run tests targeted at a specific jvm/javac/ecj/eclipse release; the relevant entrypoint test classes are lombok.RunBaseAndJavacTests and lombok.RunEclipseTests - you can run the eclipse tests even on intellij; an eclipse installation is not required. NOT SURE: The annotation processor system that automatically generates the services files has been changed. This AP is now internal to the project, - the source files for it are in `src/spiProcessor`, and a build of this is now in `build/spiProcessor.jar` - you may have to manually add it, though I'm not + the source files for it are in `src/spiProcessor`, and a build of this is now in `dist/spiProcessor.jar` - you may have to manually add it, though I'm not sure if you actually need it - the files generated by this processor are relevant only when running lombok itself, and if intellij accomplishes this by invoking ant, all will be well. Press return to continue -- cgit