aboutsummaryrefslogtreecommitdiff
path: root/website
diff options
context:
space:
mode:
Diffstat (limited to 'website')
-rw-r--r--website/download.html7
-rw-r--r--website/features/Delegate.html2
-rw-r--r--website/features/index.html2
-rw-r--r--website/features/onX.html58
-rw-r--r--website/setup/netbeans-enable-annotation-processing-in-editor.pngbin0 -> 130876 bytes
-rw-r--r--website/setup/netbeans.html65
6 files changed, 71 insertions, 63 deletions
diff --git a/website/download.html b/website/download.html
index 32f8fb7a..8f5887cf 100644
--- a/website/download.html
+++ b/website/download.html
@@ -47,8 +47,11 @@
<tr><td class="platform">Maven or Ivy</td>
<td class="instruction">Lombok is in maven central. <a href="mavenrepo/index.html">More&hellip;</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">Javac</td>
+ <td class="instruction">Just put <code>lombok.jar</code> on the classpath.</td></tr>
+
+ <tr><td class="platform">NetBeans</td>
+ <td class="instruction">Just put <code>lombok.jar</code> on the classpath and enable annotation processing. <a href="setup/netbeans.html">More&hellip;</a></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>
diff --git a/website/features/Delegate.html b/website/features/Delegate.html
index 7825359f..de67b7b6 100644
--- a/website/features/Delegate.html
+++ b/website/features/Delegate.html
@@ -62,7 +62,7 @@
<div>
</div>
<div class="footer">
- <a href="index.html">Back to features</a> | <a href="val.html">Previous feature (val)</a> | <a href="onX.html">Next feature (onMethod=,onParameter=,onConstructor=)</a><br />
+ <a href="index.html">Back to features</a> | <a href="val.html">Previous feature (val)</a> | <span class="disabled">Next feature</span><br />
<a href="../credits.html" class="creditsLink">credits</a> | <span class="copyright">Copyright &copy; 2010-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>.</span>
</div>
<div style="clear: both;"></div>
diff --git a/website/features/index.html b/website/features/index.html
index 04b6ed1c..3f00c81a 100644
--- a/website/features/index.html
+++ b/website/features/index.html
@@ -38,8 +38,6 @@
<dd>Finally! Hassle-free final local variables.</dd>
<dt><a href="Delegate.html"><code>@Delegate</code></a></dt>
<dd>Don't lose your composition.</dd>
- <dt><a href="onX.html"><code>onMethod=,onParam=,onConstructor=</code></a></dt>
- <dd>Annotate this! Add you favorite annotation to methods generated by lombok.</dd>
</dl>
</div>
<div class="pointer">
diff --git a/website/features/onX.html b/website/features/onX.html
deleted file mode 100644
index b94dea4b..00000000
--- a/website/features/onX.html
+++ /dev/null
@@ -1,58 +0,0 @@
-<!DOCTYPE html>
-<html><head>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <link rel="stylesheet" type="text/css" href="../logi/reset.css" />
- <link rel="stylesheet" type="text/css" href="features.css" />
- <link rel="shortcut icon" href="../favicon.ico" type="image/x-icon" />
- <meta name="description" content="Spice up your java" />
- <title>onMethod=,onParam=,onConstructor=</title>
-</head><body><div id="pepper">
- <div class="minimumHeight"></div>
- <div class="meat">
- <div class="header"><a href="../index.html">Project Lombok</a></div>
- <h1>onMethod=,onParam=,onConstructor=</h1>
- <div class="byline">Annotate this! Add you favorite annotation to methods generated by lombok.</div>
- <div class="overview">
- <h3>Overview</h3>
- <p>
- Lombok lets you add your favorite annotation to methods generated by <code>@Getter</code> and <code>@Setter</code> by using the attribute <code>onMethod</code>
- on the lombok annotation. You can specify annotations to the parameters of the method on <code>@Setter</code> with the attribute <code>onParameter</code>.
- You can add annotation to constructors generated by <code>@NoArgsConstructor, @RequiredArgsConstructor and @AllArgsConstructor</code> by using the attribute
- <code>onConstructor</code>
- </p>
- </div>
- <div class="snippets">
- <div class="pre">
- <h3>With Lombok</h3>
- <div class="snippet">@HTML_PRE@</div>
- </div>
- <div class="sep"></div>
- <div class="post">
- <h3>Vanilla Java</h3>
- <div class="snippet">@HTML_POST@</div>
- </div>
- </div>
- <div style="clear: left;"></div>
- <div class="overview">
- <h3>Small print</h3><div class="smallprint">
- When the @Getter or @Setter annotation is placed on the type in stead of a field, using the attribute is not supported and it will result in a warning.
- </div>
- </div>
- <div class="footer">
- <a href="index.html">Back to features</a> | <a href="Delegate.html">Previous feature (@Delegate)</a> | <span class="disabled">Next feature</span><br />
- <a href="../credits.html" class="creditsLink">credits</a> | <span class="copyright">Copyright &copy; 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>.</span>
- </div>
- <div style="clear: both;"></div>
- </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/netbeans-enable-annotation-processing-in-editor.png b/website/setup/netbeans-enable-annotation-processing-in-editor.png
new file mode 100644
index 00000000..d8a6b4c3
--- /dev/null
+++ b/website/setup/netbeans-enable-annotation-processing-in-editor.png
Binary files differ
diff --git a/website/setup/netbeans.html b/website/setup/netbeans.html
new file mode 100644
index 00000000..a828fc9f
--- /dev/null
+++ b/website/setup/netbeans.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> - NetBeans 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">
+ <ol>
+ <li>Add <code>lombok.jar</code> to the Project Libraries.</li>
+ <li>In the Project Properties, in the section Build &ndash; Compiling, check the &#39;Enable Annotation Processing in Editor&#39; checkbox.</li>
+ </ol>
+ <img src="netbeans-enable-annotation-processing-in-editor.png" />
+ </div>
+ <div class="endBar">
+ </div>
+ <div class="footer">
+ <a href="../credits.html" class="creditsLink">credits</a> | Copyright &copy; 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>