ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dona...@apache.org
Subject cvs commit: jakarta-ant/src/main/org/apache/tools/ant UnknownElement.java
Date Sat, 15 Sep 2001 10:23:11 GMT
donaldp     01/09/15 03:23:11

  Modified:    src/main/org/apache/tools/ant UnknownElement.java
  Log:
  Delegate to Task.perform() instead which has better error checking rather than reimplementing
in this class.
  
  Revision  Changes    Path
  1.11      +1 -6      jakarta-ant/src/main/org/apache/tools/ant/UnknownElement.java
  
  Index: UnknownElement.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/src/main/org/apache/tools/ant/UnknownElement.java,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- UnknownElement.java	2001/09/15 04:05:36	1.10
  +++ UnknownElement.java	2001/09/15 10:23:11	1.11
  @@ -102,12 +102,7 @@
                                        + elementName, location);
           }
   
  -        try {
  -            project.fireTaskStarted(realTask);
  -            realTask.execute();
  -        } finally {
  -            project.fireTaskFinished(realTask, null);
  -        }
  +        realTask.perform();
       }
   
       public void addChild(UnknownElement child) {
  
  
  

Mime
View raw message