I've set the default compiler value to use the ECJ adapter. I've also
added a check to fail the build (in build-java.xml and
build-tests.xml) if the ECJ adapter class is missing. The message says
that the ECJ JAR is missing and to copy it from the depends folder.

If there are any changes or suggestions for a more elegant Ant
solution, just let me know and I'll add them.

Note: The build seemingly takes a bit longer, as ECJ reports a
significant amount of warnings by default. Personally, these are
things I believe need to be cleaned up anyway (unused imports, missing
serialVersionUIDs, etc). I haven't figured out to configure the ECJ
options via the Ant task yet, so if anyone know, please let the list
know.

Mark, Tim, IBM folks,
This may require an update to the automated builds if Ant isn't setup
like this yet, sorry.

-Nathan

---------- Forwarded message ----------
From: Geir Magnusson Jr. <[EMAIL PROTECTED]>
Date: Oct 16, 2006 12:38 PM
Subject: Re: [general] version of gcc and other tools
To: harmony-dev@incubator.apache.org


None from me, but please also add some useful message for people if not
found like "ECJ not found. Please copy <useful info> to <useful info>..."



Nathan Beyer wrote:
On 10/15/06, Tim Ellison <[EMAIL PROTECTED]> wrote:
Geir Magnusson Jr. wrote:
> I suppose that as a temporary solution, we can just get people to drop
> ECJ into ant/lib...

Yes, that would be my preferred solution too, until Ant support comes
along.


Any objections to setting the harmony default compiler (in the build
scripts) to Eclipse then? The 'fetch-depends' already downloads the
necessary JAR, so copying it over should be a trivial task for now.

-Nathan

---------------------------------------------------------------------
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]

---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to