mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-14 10:18:46 +00:00
Updated the download page for the website, which now includes a list with instructions for many platforms.
This commit is contained in:
1 parent
cea08d7799
commit
6e9205a570
4 files changed
+186
-20
No files matched your search
+32
-19
@@ -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>
|
||||
|
||||
+21
-1
@@ -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;
|
||||
}
|
||||
@@ -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>
|
||||
@@ -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>
|
||||
Reference in new issue
Block a user