ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: javac and compilerargs
Date Mon, 15 Mar 2004 14:16:45 GMT
On Mon, 15 Mar 2004, Arnaud Vandyck <arnaud.vandyck@ulg.ac.be> wrote:

> Is it OK if in the Gcj class, I do something like:
> 
> String[] argsToTest = getJavac().getCurrentCompilerArgs();

Absolutely.  The command line has been tokenized by Ant already, that
is 

<compilerarg line="--main=foo -o bar"/>

will become three array elements "--main=foo", "-o" and "bar".

Stefan

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


Mime
View raw message