ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From co...@apache.org
Subject cvs commit: jakarta-ant/src/main/org/apache/tools/ant DefaultLogger.java
Date Tue, 06 Feb 2001 11:53:01 GMT
conor       01/02/06 03:53:00

  Modified:    src/main/org/apache/tools/ant Tag: ANT_13_BRANCH
                        DefaultLogger.java
  Log:
  Change that should have been applied when the BuildException was
  changed
  
  Submitted by:	Jesse Glick <Jesse.Glick@netbeans.com>
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.13.2.1  +1 -11     jakarta-ant/src/main/org/apache/tools/ant/DefaultLogger.java
  
  Index: DefaultLogger.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/src/main/org/apache/tools/ant/DefaultLogger.java,v
  retrieving revision 1.13
  retrieving revision 1.13.2.1
  diff -u -r1.13 -r1.13.2.1
  --- DefaultLogger.java	2001/01/11 12:13:02	1.13
  +++ DefaultLogger.java	2001/02/06 11:52:58	1.13.2.1
  @@ -138,17 +138,7 @@
           else {
               err.println(lSep + "BUILD FAILED" + lSep);
   
  -            if (error instanceof BuildException) {
  -                err.println(error.toString());
  -
  -                Throwable nested = ((BuildException)error).getException();
  -                if (nested != null) {
  -                    nested.printStackTrace(err);
  -                }
  -            }
  -            else {
  -                error.printStackTrace(err);
  -            }
  +            error.printStackTrace(err);
           }
   
           out.println(lSep + "Total time: " + formatTime(System.currentTimeMillis() - startTime));
  
  
  

Mime
View raw message