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 Antlib.java
Date Wed, 10 Sep 2003 10:55:58 GMT
peterreilly    2003/09/10 03:55:58

  Modified:    src/main/org/apache/tools/ant/taskdefs Antlib.java
  Log:
  Antlib: set location before maybeConfigure as maybeConfigure could
          throw an exception (invalid element/attribute for example)
  
  Revision  Changes    Path
  1.9       +1 -1      ant/src/main/org/apache/tools/ant/taskdefs/Antlib.java
  
  Index: Antlib.java
  ===================================================================
  RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/taskdefs/Antlib.java,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- Antlib.java	10 Sep 2003 10:37:14 -0000	1.8
  +++ Antlib.java	10 Sep 2003 10:55:58 -0000	1.9
  @@ -177,8 +177,8 @@
       public void execute() {
           for (Iterator i = tasks.iterator(); i.hasNext();) {
               UnknownElement ue = (UnknownElement) i.next();
  -            ue.maybeConfigure();
               setLocation(ue.getLocation());
  +            ue.maybeConfigure();
               Task t = ue.getTask();
               if (t == null) {
                   continue;
  
  
  

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


Mime
View raw message