Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #10707
| From | Gene Wirchenko <genew@ocis.net> |
|---|---|
| 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 | 2011-12-13 09:49 -0800 |
| Organization | A noiseless patient Spider |
| Message-ID | <dq3fe7lqf6uunfm7u27fl07juf1efl1fmq@4ax.com> (permalink) |
| References | (2 earlier) <8523a48b-1f30-4fd9-961c-6d2eb1ce61f7@q9g2000yqe.googlegroups.com> <8070867.1485.1323481647192.JavaMail.geo-discussion-forums@prez15> <87q6e75arb1kit6pba8u79gcaq5cloiv47@4ax.com> <1doce7hdheo9ch1hs4ircu17hp5hu85l2h@4ax.com> <4ee6a1a6$0$294$14726298@news.sunsite.dk> |
On Mon, 12 Dec 2011 19:51:51 -0500, Arne Vajhøj <arne@vajhoej.dk>
wrote:
>On 12/12/2011 3:20 PM, Gene Wirchenko wrote:
[snip]
>> Because if the code were wrong, the message would be an *error*
>> message. A warning is just that it is possibly wrong. This means
>> that it might well be correct.
>
>Or that it might be a problem.
Sure. So one looks at it. "Nope, not a problem. I will insert
a comment about it." or measure, cut, nail, and test as the case may
be.
>The big issue with suppressing all warnings is that even though
>all the old warnings may be OK then one will never see new warnings
>that indeed may be a problem.
I do not like doing that for that reason.
I read a story about one program where the programmer had
suppressed error messages. The end user was complaining that the
program did not work, got the source, and found that there was no way
the code could have compiled.
Sincerely,
Gene Wirchenko
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll 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