ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: RPMs
Date Wed, 24 Apr 2002 12:00:28 GMT
On Wed, 24 Apr 2002, GOMEZ Henri <hgomez@slib.fr> wrote:
>>> - add --withjikes flags to ant script and use javac
>>>   by default.
>>
>>Why do you need that at all?
> 
> The idea is to tell ant script to use jikes 
> if jikes exist on the system, else just fallback
> to javac...

Which means you have a different default than the script that ships
with the non-RPM distributions.

The canonical way to say "I want jikes" is 

ant -Dbuild.compiler=jikes

and for a more permanent solution

ANT_OPTS=-Dbuild.compiler=jikes

in ~/.antrc we shouldn't add a third way IMHO.

BTW, why does jikes get this special treatment by your RPMs (I'm
curious)?  This is not the only open source compiler supported by Ant,
but you only check for jikes, not gcj nor Kopi.

Stefan

--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message