aboutsummaryrefslogtreecommitdiff
path: root/website
diff options
context:
space:
mode:
authorReinier Zwitserloot <r.zwitserloot@projectlombok.org>2022-04-02 06:12:50 +0200
committerReinier Zwitserloot <r.zwitserloot@projectlombok.org>2022-04-02 06:12:50 +0200
commitc8607ba782f90ef847488f0fc5bdc365c1e83317 (patch)
treefe8aa5ee5835b69f2f21f74a300f8efc32e52e69 /website
parent110434ff60a14d2dfe8014459ffbea3ce7d6388b (diff)
downloadlombok-c8607ba782f90ef847488f0fc5bdc365c1e83317.tar.gz
lombok-c8607ba782f90ef847488f0fc5bdc365c1e83317.tar.bz2
lombok-c8607ba782f90ef847488f0fc5bdc365c1e83317.zip
[#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.
Diffstat (limited to 'website')
-rw-r--r--website/templates/setup/ecj.html4
1 files changed, 2 insertions, 2 deletions
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 <code>lombok.jar</code> to the classpath should work.
</p>
</@s.introduction>
-
+
<@s.section title="Maven">
<p>
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:
<pre>java -jar lombok.jar createMavenECJBootstrap -o <em class="note">/path/to/project/root</em></pre>
</p><p>
- The -o path should be the location of your <code>pom.xml</code>.
+ The -o path should contain your <code>pom.xml</code>.
</p><p>
This will create two files, <code>.mvn/jvm.config</code> and <code>.mvn/lombok-bootstrap.jar</code>. 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.