diff --git a/examples/nbproject/build-impl.xml b/examples/nbproject/build-impl.xml index 655ff1a00d059d4fb6b412d6e4c0223edbee5d84..a597975468383822a61c2c6b556867585e301696 100644 --- a/examples/nbproject/build-impl.xml +++ b/examples/nbproject/build-impl.xml @@ -379,7 +379,11 @@ is divided into following sections: <compilerarg value="-s"/> <compilerarg path="@{apgeneratedsrcdir}"/> <compilerarg line="${ap.proc.none.internal}"/> - <customize/> + <customize/>> + <compilerarg value="-Xlint:all"/> + <!-- http://ant.apache.org/manual/Tasks/javac.html#bootstrap --> + <!-- https://stackoverflow.com/questions/4134803/ant-passing-compilerarg-into-javac --> + <compilerarg value="-Xbootclasspath/p:${toString:lib.path.ref}"/> </javac> </sequential> </macrodef> @@ -423,6 +427,9 @@ is divided into following sections: <compilerarg path="@{apgeneratedsrcdir}"/> <compilerarg line="${ap.proc.none.internal}"/> <customize/> + <!-- http://ant.apache.org/manual/Tasks/javac.html#bootstrap --> + <!-- https://stackoverflow.com/questions/4134803/ant-passing-compilerarg-into-javac --> + <compilerarg value="-Xbootclasspath/p:${toString:lib.path.ref}"/> </javac> </sequential> </macrodef> @@ -458,6 +465,9 @@ is divided into following sections: <compilerarg line="${javac.profile.cmd.line.arg}"/> <compilerarg line="${javac.compilerargs}"/> <customize/> + <!-- http://ant.apache.org/manual/Tasks/javac.html#bootstrap --> + <!-- https://stackoverflow.com/questions/4134803/ant-passing-compilerarg-into-javac --> + <compilerarg value="-Xbootclasspath/p:${toString:lib.path.ref}"/> </javac> </sequential> </macrodef>