cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Turner <je...@apache.org>
Subject [CLI] [PATCH] Set exit status, modified print statements
Date Sun, 20 Jul 2003 10:59:14 GMT
I thought I'd ask before applying the attached patch to Main.java.  It
does the following:

 - Checks if there are any broken links, and if so, does a System.exit(1)
   instead of System.exit(0).

 - Print an error message at the point the broken link occurs, in
   addition to listing it in the brokenlinks file.  I don't want to have
   to wait 10 mins to discover if there's a broken link :)

 - Throw out the code that wraps log output at 67 chars.  My terminal is
   a good deal wider than 67 chars, and in any case is able to handle
   wrapping itself :)


--Jeff

Mime
View raw message