aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorReinier Zwitserloot <reinier@zwitserloot.com>2018-02-06 05:42:41 +0100
committerReinier Zwitserloot <reinier@zwitserloot.com>2018-02-06 06:20:44 +0100
commit116a9dbb75200223664e26093b0e238b57d4255e (patch)
tree54ba1ed87db289c0522d7aa1bd185ab2923af8fa
parente9d86650ffae683d86e59cff96c74a7c9931b6d0 (diff)
downloadlombok-116a9dbb75200223664e26093b0e238b57d4255e.tar.gz
lombok-116a9dbb75200223664e26093b0e238b57d4255e.tar.bz2
lombok-116a9dbb75200223664e26093b0e238b57d4255e.zip
[compiling] running the ant compile job now no longer emits any warnings. Each warning that was emitted has been addressed, or analysed and suppressed.
-rw-r--r--build.xml8
-rw-r--r--buildScripts/website.ant.xml2
2 files changed, 7 insertions, 3 deletions
diff --git a/build.xml b/build.xml
index 8e3fb2d1..914b658b 100644
--- a/build.xml
+++ b/build.xml
@@ -174,6 +174,7 @@ the common tasks and can be called on to run the main aspects of all the sub-scr
<ivy:compile destdir="build/lombok-utils" source="1.6" target="1.6">
<compilerarg value="-Xbootclasspath/p:build/stubs${path.separator}lib/openJDK6Environment/rt-openjdk6.jar" />
+ <compilerarg value="-Xlint:-options" />
<src path="src/utils" />
<include name="lombok/javac/**" />
<classpath location="build/lombok-utils" />
@@ -195,17 +196,17 @@ the common tasks and can be called on to run the main aspects of all the sub-scr
</lineContainsRegExp>
</filterchain>
</copy>
-
+
<ivy:compile destdir="build/lombok" source="1.4" target="1.4" ecj="true" nowarn="true" includeSystemBootclasspath="true">
<bootclasspath location="build/stubs" />
<src path="build/transformedSources" />
</ivy:compile>
-
+
<ivy:compile destdir="build/lombok/Class50" source="1.4" target="1.6" ecj="true" nowarn="true" includeSystemBootclasspath="true">
<bootclasspath location="build/stubs" />
<src path="build/transformedSources" />
</ivy:compile>
-
+
<ivy:compile destdir="build/lombok" source="1.5" target="1.5" ecj="true" nowarn="true" includeSystemBootclasspath="true">
<bootclasspath location="build/stubs" />
<src path="src/launch" />
@@ -237,6 +238,7 @@ the common tasks and can be called on to run the main aspects of all the sub-scr
<ivy:compile destdir="build/lombok" source="1.6" target="1.6">
<compilerarg value="-Xbootclasspath/p:build/stubs${path.separator}lib/openJDK6Environment/rt-openjdk6.jar" />
+ <compilerarg value="-Xlint:-options" />
<src path="src/core" />
<src path="src/delombok" />
<include name="lombok/javac/**" />
diff --git a/buildScripts/website.ant.xml b/buildScripts/website.ant.xml
index 36b3a193..15a0f95f 100644
--- a/buildScripts/website.ant.xml
+++ b/buildScripts/website.ant.xml
@@ -80,6 +80,8 @@ such as applying the templates to produce the website, converting the changelog
<target name="-compile-webclasses">
<mkdir dir="build/webclasses" />
<javac includeDestClasses="false" includeantruntime="false" destdir="build/webclasses" debug="on" source="1.8" target="1.8">
+ <compilerarg value="-proc:none" />
+ <compilerarg value="-Xlint:-options" />
<classpath refid="build.path" />
<src path="src/website" />
</javac>