ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From peterrei...@apache.org
Subject cvs commit: ant/src/main/org/apache/tools/ant/taskdefs SubAnt.java
Date Tue, 17 Feb 2004 15:45:00 GMT
peterreilly    2004/02/17 07:45:00

  Modified:    src/main/org/apache/tools/ant/taskdefs Tag: ANT_16_BRANCH
                        SubAnt.java
  Log:
  sync with HEAD
  
  Revision  Changes    Path
  No                   revision
  No                   revision
  1.9.2.5   +8 -0      ant/src/main/org/apache/tools/ant/taskdefs/SubAnt.java
  
  Index: SubAnt.java
  ===================================================================
  RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/taskdefs/SubAnt.java,v
  retrieving revision 1.9.2.4
  retrieving revision 1.9.2.5
  diff -u -r1.9.2.4 -r1.9.2.5
  --- SubAnt.java	9 Feb 2004 22:12:19 -0000	1.9.2.4
  +++ SubAnt.java	17 Feb 2004 15:45:00 -0000	1.9.2.5
  @@ -187,6 +187,14 @@
               log("Failure for target '" + target
                  + "' of: " +  antfilename + "\n"
                  + e.getMessage(), Project.MSG_WARN);
  +        } catch (Throwable e) {
  +            if (failOnError) {
  +                throw new BuildException(e);
  +            }
  +            log("Failure for target '" + target
  +                + "' of: " + antfilename + "\n"
  +                + e.toString(),
  +                Project.MSG_WARN);
           }
       }
   
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message