ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steve Loughran <ste...@apache.org>
Subject Re: cvs commit: ant WHATSNEW
Date Tue, 16 Aug 2005 19:45:23 GMT
stevel@apache.org 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: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message