[EMAIL PROTECTED] wrote:
stevel      2005/08/16 08:33:17

  Modified:    docs/manual listeners.html
               src/main/org/apache/tools/ant/listener
                        CommonsLoggingListener.java Log4jListener.java
               src/main/org/apache/tools/ant DefaultLogger.java
               .        WHATSNEW
  Added:       src/main/org/apache/tools/ant/listener
                        TimestampedLogger.java
  Log:
  Because I got fed up of trying to remember when I last ran a build from a 
particular command line. Did some constant extraction on the commons/log4j 
listener while I was in the directory.

This is very useful BTW; lets you verify whether your junit results view is in sync with your last test run, etc, etc.

BUILD FAILED - at 16/08/05 20:36

I'd have made it default were I not scared of breaking things. Including lots of documentation.


               if (Project.MSG_VERBOSE <= msgOutputLevel
                   || !(error instanceof BuildException)) {
                   message.append(StringUtils.getStackTrace(error));
               } else {
  -                if (error instanceof BuildException) {
  -                    message.append(error.toString()).append(lSep);
  -                } else {
  -                    message.append(error.getMessage()).append(lSep);
  -                }
  +                message.append(error.toString()).append(lSep);
               }

intellij says the second instanceof test was spurious, BTW

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to