harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nathan Beyer" <nbe...@gmail.com>
Subject ECJ set as default compiler (WAS: [general] version of gcc and other tools)
Date Mon, 16 Oct 2006 22:07:53 GMT
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. <geir@pobox.com>
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 <t.p.ellison@gmail.com> 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: harmony-dev-unsubscribe@incubator.apache.org
> For additional commands, e-mail: harmony-dev-help@incubator.apache.org
>

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

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