From f8bdfb10fc38d951cbe721de02a67da722d79a13 Mon Sep 17 00:00:00 2001 From: Stephen Haberman Date: Tue, 30 Aug 2011 17:33:10 -0500 Subject: Fix GWT instructions. --- website/features/index.html | 4 +++- website/setup/gwt.html | 4 ++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/website/features/index.html b/website/features/index.html index 3f00c81a..be853312 100644 --- a/website/features/index.html +++ b/website/features/index.html @@ -50,7 +50,9 @@

On javac (and maven, ant, and other build tools)

Include lombok.jar on the classpath as you compile. That's all there is to it!
Lombok hosts its own maven repository, so adding lombok to maven is very simple. full instructions are here. -

On GWT (Google Widget Toolkit), javadoc, and other source-based tools

+

On GWT (Google Widget Toolkit)

+ See gwt setup. +

On javadoc, and other source-based tools

Use delombok first, then run javadoc or GWT on the delombok-ed code.

Running delombok

Delombok copies your source files to another directory, replacing all lombok annotations with their desugared form. So, it'll turn @Getter diff --git a/website/setup/gwt.html b/website/setup/gwt.html index bb4b68a4..f21185f9 100644 --- a/website/setup/gwt.html +++ b/website/setup/gwt.html @@ -44,10 +44,10 @@

Edit your proj-debug and proj-compile batch scripts to add the following VM arguments:

-java -javaagent:lombok.jar=ECJ -Xbootclasspath/p:lombok.jar -jar gwt.jar (rest of arguments)
+java -javaagent:lombok.jar=ECJ (rest of arguments)
 			

- Thanks to Stephan Habermann for figuring this out. + Thanks to Stephen Haberman for figuring this out.

-- cgit