aboutsummaryrefslogtreecommitdiff
path: root/website
diff options
context:
space:
mode:
authorReinier Zwitserloot <reinier@zwitserloot.com>2018-10-08 15:51:10 +0200
committerReinier Zwitserloot <reinier@zwitserloot.com>2018-10-08 15:51:10 +0200
commit3bb6f69a5b03ac3181f5bd6a04050ba339c7642e (patch)
tree24b72e0edf286f8f77bd02e613dc3d30caa295a9 /website
parentd91ba858f2ff3fbfaa9cfa7d74bd76651f10694d (diff)
downloadlombok-3bb6f69a5b03ac3181f5bd6a04050ba339c7642e.tar.gz
lombok-3bb6f69a5b03ac3181f5bd6a04050ba339c7642e.tar.bz2
lombok-3bb6f69a5b03ac3181f5bd6a04050ba339c7642e.zip
Added instructions for the GWT/Eclipse plugin.
Diffstat (limited to 'website')
-rw-r--r--website/templates/setup/gwt.html18
1 files changed, 18 insertions, 0 deletions
diff --git a/website/templates/setup/gwt.html b/website/templates/setup/gwt.html
index 142362ac..ac6659a5 100644
--- a/website/templates/setup/gwt.html
+++ b/website/templates/setup/gwt.html
@@ -13,4 +13,22 @@ java <strong>-javaagent:lombok.jar=ECJ</strong> <em>(rest of arguments)</em>
Thanks to Stephen Haberman for figuring this out.
</p>
</@s.introduction>
+
+ <@s.section title="GWT plugin in Eclipse">
+ <p>
+ To use the GWT plugin in eclipse together with Lombok:<br />
+ Install lombok into eclipse as normal (start <code>lombok.jar</code> as an application).<br />
+ Download the JDT variant that GWT uses. This is the most recent org.eclipse.jdt.core_VERSION-CUSTOM-GWT jar found on the <a href="https://github.com/gwtproject/tools/tree/master/lib/eclipse">lib/eclipse section GWT's github page</a>. As of October 2018, that would be <a href="https://github.com/gwtproject/tools/raw/master/lib/eclipse/org.eclipse.jdt.core_3.13.50-CUSTOM-GWT-20171215.jar">org.eclipse.jdt.core_3.13.50-CUSTOM-GWT-20171215.jar</a>.<br />
+ Configure the 'GWT/Compile' option in the eclipse GWT plugin; in the advanced section, add the following VM arguments:<br />
+<pre>-javaagent:/path/to/lombok.jar=ECJ
+-Xbootclasspath/p:/path/to/lombok.jar:/path/to/org.eclipse.jdt.core_fromPreviousStep.jar</pre>
+Where the colon should be replaced with a semicolon on windows.<br />
+ GWT Dev Mode needs a similar configuration: In the VM arguments section ('Arguments' tab), add:
+<pre>-javaagent:/path/to/lombok.jar=ECJ</pre>
+ and in the 'Classpath' tab, add both lombok.jar and the org.eclipse.jdt.core file you downloaded.
+ </p>
+ <p>
+ The above instructions are contributed by Stas via the forum. Let us know if they work, or if you run into issues. Thanks and have fun!
+ </p>
+ </@s.section>
</@s.scaffold>