From 6e9205a5706f1caba39402a62318693ebff2426a Mon Sep 17 00:00:00 2001 From: Reinier Zwitserloot Date: Mon, 30 May 2011 23:50:32 +0200 Subject: Updated the download page for the website, which now includes a list with instructions for many platforms. --- website/download.html | 51 +++++++++++++++++++++++-------------- website/index.css | 22 +++++++++++++++- website/setup/ecj.html | 65 +++++++++++++++++++++++++++++++++++++++++++++++ website/setup/gwt.html | 68 ++++++++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 186 insertions(+), 20 deletions(-) create mode 100644 website/setup/ecj.html create mode 100644 website/setup/gwt.html diff --git a/website/download.html b/website/download.html index 84ae9b15..6369d085 100644 --- a/website/download.html +++ b/website/download.html @@ -30,31 +30,44 @@ Report an issue
+ + + Download! +
Version: @VERSION@ | changelog
-

Maven or Ivy

- Lombok is in maven central with groupId org.projectlombok, artifactId lombok and version @VERSION@.
- Full instructions are on the lombok maven info page. -

Javac, netbeans, and most other compilers and tools based on javac

- Just put lombok.jar on the classpath. -

Eclipse and STS (Springsource Tool Suite)

- Run lombok.jar as a stand-alone java app (i.e. doubleclick it, usually) to open the installer, which will find your eclipse/STS installs automatically. -

IDEA IntelliJ

- lombok doesn't (yet) work under IntelliJ. We're working on it though! -

Javadoc

- First delombok your code then run javadoc on the result. See the delombok feature page for more information. -

GWT

- When you create a new GWT project, 2 batch scripts are made by the tool (one to run in devmode, one to compile). Open these scripts in an editor and find the - invocation of 'java'. Add the following: -javaagent:lombok.jar=ECJ. Then copy lombok.jar to your GWT project directory, and add lombok.jar - to the classpath as usual. Thanks to Stephan Habermann for figuring this out. -

Play! Framework

- Play does not run annotation processors of any kind, but Aaron Freeman has made a play plugin to get around this problem. See the play-lombok plugin for more information. -

ecj and other tools based on ecj

- Put lombok.jar on the classpath and add the following VM parameter when invoking ecj: -javaagent:lombok.jar=ECJ. + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Maven or IvyLombok is in maven central. More…
Javac and netbeansJust put lombok.jar on the classpath. Note that val does not work in Netbeans (yet).
Eclipse and STSRun lombok.jar as a java app (i.e. doubleclick it, usually) to open the installer.
IDEA IntelliJlombok doesn't (yet) work under IntelliJ. We're working on it though!
JavadocFirst delombok your code then run javadoc on the result. More…
GWTLombok works with GWT. More…
Play! FrameworkUse Aaron Freeman's lombok play plugin.
ecjLombok works on ecj and ecj-based tools. More…
diff --git a/website/index.css b/website/index.css index 5a3c0a68..b89e65cb 100644 --- a/website/index.css +++ b/website/index.css @@ -52,7 +52,8 @@ h1 { height: 30px; line-height: 30px; font-size: 14px; - text-align: center + text-align: center; + clear: both; } .button { @@ -146,3 +147,22 @@ code { font-style: normal; font-weight: bold; } + +.downloadHelp { + margin: 32px 16px 32px 0px; +} + +.downloadHelp .platform { + font-size: 1.2em; + font-weight: bold; + padding-right: 32px; +} + +.stableLink { + font-size: 1.5em; + margin-bottom: 16px; +} + +.edgeLink { + margin-bottom: 16px; +} diff --git a/website/setup/ecj.html b/website/setup/ecj.html new file mode 100644 index 00000000..a42d43cb --- /dev/null +++ b/website/setup/ecj.html @@ -0,0 +1,65 @@ + + + + + + + + + Project Lombok + + + Fork me on GitHub +
+

Project Lombok - ecj instructions

+ +
+ ecj (the eclipse standalone compiler) is compatible with lombok. Use the following command line to enable lombok with ecj: +

+

+java -javaagent:lombok.jar=ECJ -Xbootclasspath/p:lombok.jar -jar ecj.jar -cp lombok.jar (rest of arguments)
+ If you're using a tool based on ecj, adding these VM arguments and adding lombok.jar to the classpath should work. +
+
+
+ +
+ + + diff --git a/website/setup/gwt.html b/website/setup/gwt.html new file mode 100644 index 00000000..bb4b68a4 --- /dev/null +++ b/website/setup/gwt.html @@ -0,0 +1,68 @@ + + + + + + + + + Project Lombok + + + Fork me on GitHub +
+

Project Lombok - gwt instructions

+ +
+ gwt (Google Web Toolkit) is compatible with lombok. +

+ 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)
+			
+

+ Thanks to Stephan Habermann for figuring this out. +

+
+
+ +
+ + + -- cgit