ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <>
Subject RE: Suppress javac warning
Date Mon, 07 Apr 2008 15:27:42 GMT
Hi Kevin,

	Thanks for the reply and you got my question right. However,
setting the nowarn attribute to "on"/"yes"/"true" does not help.
I still see all the warning and deprecated messages.

This is how I'm setting it :

<javac nowarn="true" srcdir="${}
			 	<classpath refid="common.pathrefs" />

Is there anything wrong , or any other way of trying the same ?


-----Original Message-----
From: Toomey, Kevin H (ATS, IT) [] 
Sent: Monday, April 07, 2008 8:38 AM
To: Ant Users List
Subject: RE: Suppress javac warning

Hi Sumit,
Maybe I'm misunderstanding your question, but if you take a look in the
manual you'll see the javac task has attributes (nowarn, deprecation)
that you can set to true/false to control whether you see those


From: []
Sent: Saturday, April 05, 2008 3:39 PM
Subject: Suppress javac warning

Hi All, 

        I need to suppress javac warning and specially deprecated
messages to the compiler. 
I tried nowarn, no luck. 
Any pointers on how can I achieve the same ? 


This communication, including attachments, is
for the exclusive use of addressee and may contain proprietary,
confidential and/or privileged information.  If you are not the intended
recipient, any use, copying, disclosure, dissemination or distribution
strictly prohibited.  If you are not the intended recipient, please
the sender immediately by return e-mail, delete this communication and
destroy all copies.

Visit our website at

This message contains confidential information and is intended only 
for the individual named.  If you are not the named addressee you 
should not disseminate, distribute or copy this e-mail.  Please 
notify the sender immediately by e-mail if you have received this 
e-mail by mistake and delete this e-mail from your system.
E-mails are not encrypted and cannot be guaranteed to be secure or 
error-free as information could be intercepted, corrupted, lost, 
destroyed, arrive late or incomplete, or contain viruses.  The sender 
therefore does not accept liability for any errors or omissions in the 
contents of this message which arise as a result of e-mail transmission.  
If verification is required please request a hard-copy version.  This 
message is provided for informational purposes and should not be 
construed as a solicitation or offer to buy or sell any securities 
or related financial instruments.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message