I did. Ah - now I see... "-" and "+". First read seemed like all those
did was turn them on...
geir
Tim Ellison wrote:
RTFL(ink) below
Tim
Geir Magnusson Jr. wrote:
how do you turn off the default ones?
Tim Ellison wrote:
Nathan Beyer wrote:
I haven't figured out to configure the ECJ options via the Ant task
yet, so if anyone know, please let the list know.
Add a <compilerarg> nested element, e.g.
Index: build-java.xml
===================================================================
--- build-java.xml (revision 464908)
+++ build-java.xml (working copy)
@@ -141,6 +141,9 @@
source="${hy.javac.source}"
target="${hy.javac.target}"
debug="${hy.javac.debug}">
+
+ <compilerarg value="-warn:unusedImport" />
+
<src path="modules/accessibility/src/main/java/" />
<src path="modules/annotation/src/main/java/" />
<src path="modules/applet/src/main/java" />
where the argument is taken from this list:
http://dev.eclipse.org/viewcvs/index.cgi/*checkout*/jdt-core-home/howto/batch%20compile/batchCompile.html?rev=HEAD&content-type=text/html
Regards,
Tim
---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]