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 -- Tim Ellison ([EMAIL PROTECTED]) IBM Java technology centre, UK. --------------------------------------------------------------------- Terms of use : http://incubator.apache.org/harmony/mailing.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]