You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Marko Asplund <as...@kronodoc.fi> on 2002/04/25 09:28:12 UTC

setting compiler options

how do i set arbitrary Java compiler options in the buildfile? i'm using
the Jikes compiler and i need to set the '-encoding 8859_1' option for
Jikes.

-- 
	aspa


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: setting compiler options

Posted by Marko Asplund <as...@kronodoc.fi>.
On 25 Apr 2002, Stefan Bodewig wrote:

> ...
> Use <javac>'s encoding attribute?

yes, that seems to work, thanks.

-- 
	aspa



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: setting compiler options

Posted by Stefan Bodewig <bo...@apache.org>.
On Thu, 25 Apr 2002, Marko Asplund <as...@kronodoc.fi> wrote:

> i'm using the Jikes compiler and i need to set the '-encoding
> 8859_1' option for Jikes.

Use <javac>'s encoding attribute?

A more general approach for arbitrary options will be available in
1.5, where we have a nested <compilerarg> element that even allows you
to say "only pass this options if the compiler is jikes".

Stefan

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>