ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Toomey, Kevin H (ATS, IT)" <Kevin.Too...@thehartford.com>
Subject RE: Suppress javac warning
Date Mon, 07 Apr 2008 12:38:14 GMT
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
messages.
 
Thanks,
Kevin

________________________________

From: Sumit.Srivastava@ubs.com [mailto:Sumit.Srivastava@ubs.com] 
Sent: Saturday, April 05, 2008 3:39 PM
To: user@ant.apache.org
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 ? 


Thanks, 
Sumit 



*************************************************************************
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 is
strictly prohibited.  If you are not the intended recipient, please notify
the sender immediately by return e-mail, delete this communication and
destroy all copies.
*************************************************************************


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message