Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #10635

Re: When running Ant on command line, how to not-show its WARNING messages and only show ERROR message?

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 <lewbloch@gmail.com>
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> (permalink)
References <769dffa0-4077-4a3a-ad9a-57c5f5028cd8@l19g2000yqc.googlegroups.com> <lkk4e7ph9e2g63cfibf915fn7qfo644n1c@4ax.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

Show key headers only | View raw


www wrote:
> Roedy Green wrote:
> off such warnings.
> >
> > <!-- C O M P I L E -->
> > <target name="compile">
> > <echo message="    :::    bio    :::    compiling Java tree with
> > target=1.5" />
> >   <javac source="1.5" target="1.5" srcdir="com/mindprod/bio"
> > sourcepath="${basedir}" classpath="${basedir}" debug="on"
> > includeAntRuntime="false">
> >     <compilerarg value="-Xlint:unchecked" />
> >     <compilerarg value="-Xlint:fallthrough" />
> >     <compilerarg value="-Xlint:deprecation" />
> >   </javac>
> > </target>
> >
> > Then just add the option no your compilerargs.
> 
> Thank you all. Can you elaborate what the three -Xlint lines above
> for?
> I have added those. In addition, I have: <javac nowarn="on" ....>
> 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?

-- 
Lew

Back to comp.lang.java.programmer | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

When running Ant on command line, how to not-show its WARNING messages and only show ERROR message? www <xsli2@yahoo.com> - 2011-12-09 07:46 -0800
  Re: When running Ant on command line, how to not-show its WARNING messages and only show ERROR message? "John B. Matthews" <nospam@nospam.invalid> - 2011-12-09 12:19 -0500
  Re: When running Ant on command line, how to not-show its WARNING messages and only show ERROR message? Roedy Green <see_website@mindprod.com.invalid> - 2011-12-09 10:27 -0800
    Re: When running Ant on command line, how to not-show its WARNING messages and only show ERROR message? www <xsli2@yahoo.com> - 2011-12-09 11:59 -0800
      Re: When running Ant on command line, how to not-show its WARNING messages and only show ERROR message? Lew <lewbloch@gmail.com> - 2011-12-09 17:47 -0800
        Re: When running Ant on command line, how to not-show its WARNING messages and only show ERROR message? ilAn <idonot@wantspam.net> - 2011-12-10 03:55 +0200
        Re: When running Ant on command line, how to not-show its WARNING messages and only show ERROR message? Roedy Green <see_website@mindprod.com.invalid> - 2011-12-10 06:14 -0800
          Re: When running Ant on command line, how to not-show its WARNING messages and only show ERROR message? Gene Wirchenko <genew@ocis.net> - 2011-12-12 12:20 -0800
            Re: When running Ant on command line, how to not-show its WARNING messages and only show ERROR message? Arne Vajhøj <arne@vajhoej.dk> - 2011-12-12 19:51 -0500
              Re: When running Ant on command line, how to not-show its WARNING messages and only show ERROR message? Gene Wirchenko <genew@ocis.net> - 2011-12-13 09:49 -0800
  Re: When running Ant on command line, how to not-show its WARNING messages and only show ERROR message? Lew <lewbloch@gmail.com> - 2011-12-09 17:46 -0800

csiph-web