Path: csiph.com!x330-a1.tempe.blueboxinc.net!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!npeer02.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail From: Lew Newsgroups: comp.lang.java.programmer Subject: Re: When running Ant on command line, how to not-show its WARNING messages and only show ERROR message? Date: Fri, 9 Dec 2011 17:47:27 -0800 (PST) Organization: http://groups.google.com Lines: 32 Message-ID: <8070867.1485.1323481647192.JavaMail.geo-discussion-forums@prez15> References: <769dffa0-4077-4a3a-ad9a-57c5f5028cd8@l19g2000yqc.googlegroups.com> <8523a48b-1f30-4fd9-961c-6d2eb1ce61f7@q9g2000yqe.googlegroups.com> Reply-To: comp.lang.java.programmer@googlegroups.com NNTP-Posting-Host: 2620:0:1000:2404:224:d7ff:fe69:5838 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1323481648 1737 127.0.0.1 (10 Dec 2011 01:47:28 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Sat, 10 Dec 2011 01:47:28 +0000 (UTC) In-Reply-To: <8523a48b-1f30-4fd9-961c-6d2eb1ce61f7@q9g2000yqe.googlegroups.com> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=2620:0:1000:2404:224:d7ff:fe69:5838; posting-account=CP-lKQoAAAAGtB5diOuGlDQk0jIwmH0T User-Agent: G2/1.0 X-Google-Web-Client: true Xref: x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:10635 www wrote: > Roedy Green wrote: > off such warnings. > > > > > > > > > target=3D1.5" /> > > =A0 > sourcepath=3D"${basedir}" classpath=3D"${basedir}" debug=3D"on" > > includeAntRuntime=3D"false"> > > =A0 =A0 > > =A0 =A0 > > =A0 =A0 > > =A0 > > > > > > Then just add the option no your compilerargs. >=20 > Thank you all. Can you elaborate what the three -Xlint lines above > for? > I have added those. In addition, I have: > The WARNING messages are still there. Maybe a couple of them were > gone, I am not too sure. Why do you think suppressing warnings is better than fixing your bugs? Why do you think it's acceptable to leave bugs in your code? --=20 Lew