diff options
author | Reinier Zwitserloot <reinier@zwitserloot.com> | 2011-05-30 23:50:32 +0200 |
---|---|---|
committer | Reinier Zwitserloot <reinier@zwitserloot.com> | 2011-06-13 23:47:47 +0200 |
commit | 6e9205a5706f1caba39402a62318693ebff2426a (patch) | |
tree | 56cd23669ce2db358e644bd83079ef21a2e4fa42 | |
parent | cea08d77998acce659c6ffc712045b9772ad9c65 (diff) | |
download | lombok-6e9205a5706f1caba39402a62318693ebff2426a.tar.gz lombok-6e9205a5706f1caba39402a62318693ebff2426a.tar.bz2 lombok-6e9205a5706f1caba39402a62318693ebff2426a.zip |
Updated the download page for the website, which now includes a list with instructions for many platforms.
-rw-r--r-- | website/download.html | 51 | ||||
-rw-r--r-- | website/index.css | 22 | ||||
-rw-r--r-- | website/setup/ecj.html | 65 | ||||
-rw-r--r-- | website/setup/gwt.html | 68 |
4 files changed, 186 insertions, 20 deletions
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 @@ <span>Report an issue</span> </a> <div class="downloadContainer"> + <a class="downloadLink" id="downloadLink" href="download.html"> + <img src="icon_download.png" /> + <span>Download!</span> + </a> <div class="versionInfo"> Version: @VERSION@ | <a href="changelog.html">changelog</a> </div> </div> </div> <div class="downloadHelp"> - <h3>Maven or Ivy</h3> - Lombok is in maven central with groupId <code>org.projectlombok</code>, artifactId <code>lombok</code> and version <code>@VERSION@</code>.<br /> - Full instructions are on the <a href="mavenrepo/index.html">lombok maven info page</a>. - <h3>Javac, netbeans, and most other compilers and tools based on javac</h3> - Just put <code>lombok.jar</code> on the classpath. - <h3>Eclipse and STS (Springsource Tool Suite)</h3> - Run <code>lombok.jar</code> as a stand-alone java app (i.e. doubleclick it, usually) to open the installer, which will find your eclipse/STS installs automatically. - <h3>IDEA IntelliJ</h3> - lombok doesn't (yet) work under IntelliJ. We're working on it though! - <h3>Javadoc</h3> - First delombok your code then run javadoc on the result. See the <a href="/features/delombok.html">delombok feature page</a> for more information. - <h3>GWT</h3> - 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: <code>-javaagent:lombok.jar=ECJ</code>. Then copy <code>lombok.jar</code> to your GWT project directory, and add <code>lombok.jar</code> - to the classpath as usual. <span class="attribution">Thanks to Stephan Habermann for figuring this out.</span> - <h3>Play! Framework</h3> - Play does not run annotation processors of any kind, but Aaron Freeman has made a play plugin to get around this problem. See the <a href="https://github.com/aaronfreeman/play-lombok">play-lombok</a> plugin for more information. - <h3>ecj and other tools based on ecj</h3> - Put <code>lombok.jar</code> on the classpath and add the following VM parameter when invoking ecj: <code>-javaagent:lombok.jar=ECJ</code>. + <div class="stableLink">Download <a href="http://projectlombok.googlecode.com/files/lombok.jar">lombok.jar</a> @VERSION@.</div> + <div class="edgeLink">Feeling adventurous? Download the latest <a href="download-edge.html">snapshot</a> release.</div> + + <table cellspacing="0" cellpadding="0"> + <tr><td class="platform">Maven or Ivy</td> + <td class="instruction">Lombok is in maven central. <a href="mavenrepo/index.html">More…</a></td></tr> + + <tr><td class="platform">Javac and netbeans</td> + <td class="instruction">Just put <code>lombok.jar</code> on the classpath. <span style="font-size: 0.8em;">Note that <a href="features/val.html"><em>val</em></a> does not work in Netbeans (yet).</span></td></tr> + + <tr><td class="platform">Eclipse and STS</td> + <td class="instruction">Run <code>lombok.jar</code> as a java app (i.e. doubleclick it, usually) to open the installer.</td></tr> + + <tr><td class="platform">IDEA IntelliJ</td> + <td class="instruction">lombok doesn't (yet) work under IntelliJ. We're working on it though!</td></tr> + + <tr><td class="platform">Javadoc</td> + <td class="instruction">First delombok your code then run javadoc on the result. <a href="features/delombok.html">More…</a></td></tr> + + <tr><td class="platform">GWT</td> + <td class="instruction">Lombok works with GWT. <a href="setup/gwt.html">More…</a></td></tr> + + <tr><td class="platform">Play! Framework</td> + <td class="instruction">Use Aaron Freeman's <a href="https://github.com/aaronfreeman/play-lombok#readme">lombok play plugin</a>.</td></tr> + + <tr><td class="platform">ecj</td> + <td class="instruction">Lombok works on ecj and ecj-based tools. <a href="setup/ecj.html">More…</a></td></tr> + </table> </div> <div class="endBar"> </div> 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 @@ +<!DOCTYPE html> +<html><head> + <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> + <script src="../logi/jQuery-all.js" type="text/javascript"></script> + <link rel="stylesheet" type="text/css" href="../logi/reset.css" /> + <link rel="stylesheet" type="text/css" href="../index.css" /> + <link rel="shortcut icon" href="../favicon.ico" type="image/x-icon" /> + <meta name="description" content="Spice up your java" /> + <title>Project Lombok</title> + <!--[if lt IE 7]><script type="text/javascript" src="../logi/iepngfix_tilebg.js"></script><![endif]--> +</head><body> + <a id="forkMe" href="http://github.com/rzwitserloot/lombok"><img style="position: absolute; top: 0; right: 0; border: 0;" src="http://s3.amazonaws.com/github/ribbons/forkme_right_darkblue_121621.png" alt="Fork me on GitHub" /></a> + <div class="meat"> + <h1><a href="/">Project Lombok</a> - ecj instructions</h1> + <div id="buttonBar" class="buttonBar"> + <a class="button" href="../features/index.html"> + <img src="../icon_overview.png" /> + <span>Feature Overview</span> + </a> + <a class="button" href="http://groups.google.com/group/project-lombok"> + <img src="../icon_discussion.png" /> + <span>Discuss / Help</span> + </a> + <a class="button" href="http://wiki.github.com/rzwitserloot/lombok/contributing"> + <img src="../icon_contribute.png" /> + <span>Contribute</span> + </a> + <a class="button" href="http://code.google.com/p/projectlombok/issues/list"> + <img src="../icon_bugs.png" /> + <span>Report an issue</span> + </a> + <div class="downloadContainer"> + <a class="downloadLink" id="downloadLink" href="../download.html"> + <img src="../icon_download.png" /> + <span>Download!</span> + </a> + <div class="versionInfo"> + Version: @VERSION@ | <a href="../changelog.html">changelog</a> + </div> + </div> + </div> + <div class="downloadHelp"> + ecj (the eclipse standalone compiler) is compatible with lombok. Use the following command line to enable lombok with ecj: + <p> + <pre> +java <strong>-javaagent:lombok.jar=ECJ -Xbootclasspath/p:lombok.jar</strong> -jar ecj.jar -cp lombok.jar <em>(rest of arguments)</em></pre> + If you're using a tool based on ecj, adding these VM arguments and adding lombok.jar to the classpath should work. + </div> + <div class="endBar"> + </div> + <div class="footer"> + <a href="../credits.html" class="creditsLink">credits</a> | Copyright © 2009-2011 Reinier Zwitserloot, Roel Spilker, and Robbert Jan Grootjans, licensed under the <a href="http://www.opensource.org/licenses/mit-license.php">MIT license</a>. + </div> + </div> + <script type="text/javascript"> + var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www."); + document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E")); + </script> + <script type="text/javascript"> + try { + var pageTracker = _gat._getTracker("UA-9884254-1"); + pageTracker._trackPageview(); + } catch(err) {} + </script> +</body></html> 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 @@ +<!DOCTYPE html> +<html><head> + <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> + <script src="../logi/jQuery-all.js" type="text/javascript"></script> + <link rel="stylesheet" type="text/css" href="../logi/reset.css" /> + <link rel="stylesheet" type="text/css" href="../index.css" /> + <link rel="shortcut icon" href="../favicon.ico" type="image/x-icon" /> + <meta name="description" content="Spice up your java" /> + <title>Project Lombok</title> + <!--[if lt IE 7]><script type="text/javascript" src="../logi/iepngfix_tilebg.js"></script><![endif]--> +</head><body> + <a id="forkMe" href="http://github.com/rzwitserloot/lombok"><img style="position: absolute; top: 0; right: 0; border: 0;" src="http://s3.amazonaws.com/github/ribbons/forkme_right_darkblue_121621.png" alt="Fork me on GitHub" /></a> + <div class="meat"> + <h1><a href="/">Project Lombok</a> - gwt instructions</h1> + <div id="buttonBar" class="buttonBar"> + <a class="button" href="../features/index.html"> + <img src="../icon_overview.png" /> + <span>Feature Overview</span> + </a> + <a class="button" href="http://groups.google.com/group/project-lombok"> + <img src="../icon_discussion.png" /> + <span>Discuss / Help</span> + </a> + <a class="button" href="http://wiki.github.com/rzwitserloot/lombok/contributing"> + <img src="../icon_contribute.png" /> + <span>Contribute</span> + </a> + <a class="button" href="http://code.google.com/p/projectlombok/issues/list"> + <img src="../icon_bugs.png" /> + <span>Report an issue</span> + </a> + <div class="downloadContainer"> + <a class="downloadLink" id="downloadLink" href="../download.html"> + <img src="../icon_download.png" /> + <span>Download!</span> + </a> + <div class="versionInfo"> + Version: @VERSION@ | <a href="../changelog.html">changelog</a> + </div> + </div> + </div> + <div class="downloadHelp"> + gwt (Google Web Toolkit) is compatible with lombok. + <p> + Edit your proj-debug and proj-compile batch scripts to add the following VM arguments: + <pre> +java <strong>-javaagent:lombok.jar=ECJ -Xbootclasspath/p:lombok.jar</strong> -jar gwt.jar <em>(rest of arguments)</em> + </pre> + <p> + Thanks to Stephan Habermann for figuring this out. + </div> + <div class="endBar"> + </div> + <div class="footer"> + <a href="../credits.html" class="creditsLink">credits</a> | Copyright © 2009-2011 Reinier Zwitserloot, Roel Spilker, and Robbert Jan Grootjans, licensed under the <a href="http://www.opensource.org/licenses/mit-license.php">MIT license</a>. + </div> + </div> + <script type="text/javascript"> + var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www."); + document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E")); + </script> + <script type="text/javascript"> + try { + var pageTracker = _gat._getTracker("UA-9884254-1"); + pageTracker._trackPageview(); + } catch(err) {} + </script> +</body></html> |