ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Beat Meier <mbe...@swiss-wireless.com.ar>
Subject Re: How can I pass -Xlint to javac ?
Date Mon, 12 Sep 2011 11:38:51 GMT
Thanks a lot

That's what I was looking for!!
Works like a charm

Beat


On 09/12/2011 02:30 AM, Urena, Jose M (Jose) wrote:
> Xlint is only valid for newer compilers
> if you are concerned that code might be compiled with different JDK versions or from
different vendors
> then compilerarg should have the compiler attribute that will signal when javac should
look at the value/line
>
>     <compilerarg line="-Xlint:${JAVA_LINT} " compiler="modern"/>
>
>
> -----Original Message-----
> From: wallaceb@gmail.com [mailto:wallaceb@gmail.com]
> Sent: Friday, September 09, 2011 8:21 PM
> To: Ant Users List
> Subject: Re: How can I pass -Xlint to javac ?
>
> Hello
>
>   Try using this<compilerarg value="-Xlint"/>  ------Original Message------
> From: Beat Meier
> To: user@ant.apache.org
> ReplyTo: Ant Users List
> Subject: How can I  pass  -Xlint to javac ?
> Sent: Sep 9, 2011 7:48 PM
>
> Hello
>
> How can I give arguments to the sun java compiler?
> I want to use -Xlint with the javac but see no option of javac ant task?
>
> Thanks
>
> Beat
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail:
user-help@ant.apache.org
>
>
> Sent from my BlackBerry
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail:
user-help@ant.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>
>


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


Mime
View raw message