From 5f92913a52f46300235e6f31b356025998d9f859 Mon Sep 17 00:00:00 2001 From: Reinier Zwitserloot Date: Wed, 11 Dec 2013 22:27:01 +0100 Subject: Updated web docs and added format options support to delombok ant task. --- website/features/delombok.html | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'website/features') 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 @@

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

+ Delombok's output format can be configured with command line options (use --format-help 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!

Running delombok on the command line

@@ -41,7 +43,9 @@

<target name="javadoc">
 	<taskdef classname="lombok.delombok.ant.DelombokTask" classpath="lib/lombok.jar" name="delombok" />
 	<mkdir dir="build/src-delomboked" />
-	<delombok verbose="true" encoding="UTF-8" to="build/src-delomboked" from="src" />
+	<delombok verbose="true" encoding="UTF-8" to="build/src-delomboked" from="src">
+		<format value="suppressWarnings:skip" />
+	</delombok>
 	<mkdir dir="build/api" />
 	<javadoc sourcepath="build/src-delomboked" defaultexcludes="yes" destdir="build/api" />
 </target>
-- cgit