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 UnknownElement.java
Date Mon, 24 Nov 2003 09:20:41 GMT
peterreilly    2003/11/24 01:20:41

  Modified:    src/main/org/apache/tools/ant Tag: ANT_16_BRANCH
                        UnknownElement.java
  Log:
  sync with HEAD
  
  Revision  Changes    Path
  No                   revision
  No                   revision
  1.63.2.6  +5 -0      ant/src/main/org/apache/tools/ant/UnknownElement.java
  
  Index: UnknownElement.java
  ===================================================================
  RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/UnknownElement.java,v
  retrieving revision 1.63.2.5
  retrieving revision 1.63.2.6
  diff -u -r1.63.2.5 -r1.63.2.6
  --- UnknownElement.java	18 Nov 2003 11:29:06 -0000	1.63.2.5
  +++ UnknownElement.java	24 Nov 2003 09:20:41 -0000	1.63.2.6
  @@ -426,6 +426,11 @@
               PreSetDef.PreSetDefinition def = (PreSetDef.PreSetDefinition) o;
               o = def.createObject(ue.getProject());
               ue.applyPreSet(def.getPreSets());
  +            if (o instanceof Task) {
  +                Task task = (Task) o;
  +                task.setTaskType(ue.getTaskType());
  +                task.setTaskName(ue.getTaskName());
  +            }
           }
   
           if (o instanceof Task) {
  
  
  

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


Mime
View raw message