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: walla...@gmail.com [mailto:walla...@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-unsubscr...@ant.apache.org For additional commands, e-mail: user-h...@ant.apache.org Sent from my BlackBerry --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For additional commands, e-mail: user-h...@ant.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For additional commands, e-mail: user-h...@ant.apache.org
--------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For additional commands, e-mail: user-h...@ant.apache.org