harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Ellison <t.p.elli...@gmail.com>
Subject Re: ECJ set as default compiler (WAS: [general] version of gcc and other tools)
Date Tue, 17 Oct 2006 12:38:40 GMT
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 (t.p.ellison@gmail.com)
IBM Java technology centre, UK.

---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
For additional commands, e-mail: harmony-dev-help@incubator.apache.org


Mime
View raw message