ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adam Murdoch <adammurd...@apache.org>
Subject Re: I want to specify no -g flags to javac
Date Wed, 10 Apr 2002 02:39:59 GMT
On Wed, 10 Apr 2002 12:24, TAKAHASHI Hideo(BSD-M1G) wrote:
> My chances seems to be:
>
> (1) Change the source to alter the behaviour of debug="false", but that
> isn't very nice.   I don't want to make a branch.
>
> (2) Make an enhancement request, however it seems that the javac task is
> designed to define a common set of options that can be applied to all
> supported compilers, so making compiler dependend flags specifiable
> would probably be against the current design policy.
>
> Maybe I will have to choose (1) for the present.
>
> Are there any better way to address this?

There is.  A 'debuglevel' attribute was added to the <javac> task, to give 
fine-grained control over this.  You'll need to use the Ant 1.5alpha in CVS.

-- 
Adam

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


Mime
View raw message