aboutsummaryrefslogtreecommitdiff
path: root/website/features
diff options
context:
space:
mode:
authorReinier Zwitserloot <reinier@zwitserloot.com>2013-12-11 22:27:01 +0100
committerReinier Zwitserloot <reinier@zwitserloot.com>2013-12-11 22:40:48 +0100
commit5f92913a52f46300235e6f31b356025998d9f859 (patch)
tree9ce906a7c21fad74fec856a382dc5b6e9c8c79ac /website/features
parenta19b99cba2fdee4495bafce558a28af49e8e36f0 (diff)
downloadlombok-5f92913a52f46300235e6f31b356025998d9f859.tar.gz
lombok-5f92913a52f46300235e6f31b356025998d9f859.tar.bz2
lombok-5f92913a52f46300235e6f31b356025998d9f859.zip
Updated web docs and added format options support to delombok ant task.
Diffstat (limited to 'website/features')
-rw-r--r--website/features/delombok.html6
1 files changed, 5 insertions, 1 deletions
diff --git a/website/features/delombok.html b/website/features/delombok.html
index d8353b9e..30f21c04 100644
--- a/website/features/delombok.html
+++ b/website/features/delombok.html
@@ -23,6 +23,8 @@
</p><p>
Delombok's standard mode of operation is that it copies an entire directory into another directory, recursively, skipping class files, and applying
lombok transformations to any java source files it encounters.
+ </p><p>
+ Delombok's output format can be configured with command line options (use <code>--format-help</code> for a complete list). A few such options are automatically scanned from input if possible (such as indent). If delombok's formatting is not conforming to your preferred code style, have a look!
</p>
<h3>Running delombok on the command line</h3>
<p>
@@ -41,7 +43,9 @@
<div class="snippet"><pre>&lt;target name="javadoc"&gt;
&lt;taskdef classname="lombok.delombok.ant.DelombokTask" classpath="lib/lombok.jar" name="delombok" /&gt;
&lt;mkdir dir="build/src-delomboked" /&gt;
- <strong>&lt;delombok verbose="true" encoding="UTF-8" to="build/src-delomboked" from="src" /&gt;</strong>
+ <strong>&lt;delombok verbose="true" encoding="UTF-8" to="build/src-delomboked" from="src"&gt;</strong>
+ <strong>&lt;format value="suppressWarnings:skip" /&gt;</strong>
+ <strong>&lt;/delombok&gt;</strong>
&lt;mkdir dir="build/api" /&gt;
&lt;javadoc sourcepath="build/src-delomboked" defaultexcludes="yes" destdir="build/api" /&gt;
&lt;/target&gt;</pre></div>