From c8607ba782f90ef847488f0fc5bdc365c1e83317 Mon Sep 17 00:00:00 2001
From: Reinier Zwitserloot
Date: Sat, 2 Apr 2022 06:12:50 +0200
Subject: [#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.
---
website/templates/setup/ecj.html | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
(limited to 'website')
diff --git a/website/templates/setup/ecj.html b/website/templates/setup/ecj.html
index ae4979d6..d888938a 100644
--- a/website/templates/setup/ecj.html
+++ b/website/templates/setup/ecj.html
@@ -12,14 +12,14 @@
If you're using a tool based on ECJ, adding these VM arguments and adding lombok.jar
to the classpath should work.
@s.introduction>
-
+
<@s.section title="Maven">
Lombok comes with a tiny bootstrap agent that can be included in your project to allow ECJ to easily work with Maven.
To create this agent, run:
java -jar lombok.jar createMavenECJBootstrap -o /path/to/project/root
- The -o path should be the location of your pom.xml
.
+ The -o path should contain your pom.xml
.
This will create two files, .mvn/jvm.config
and .mvn/lombok-bootstrap.jar
. Maven will use these files
to activate the standard Lombok Java agent at the right time. These can be committed in source control for a portable build.
--
cgit