ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@apache.org
Subject cvs commit: jakarta-ant/src/testcases/org/apache/tools/ant/taskdefs DynamicTask.java
Date Tue, 07 May 2002 11:08:33 GMT
bodewig     02/05/07 04:08:33

  Modified:    .        build.xml
               src/testcases/org/apache/tools/ant/taskdefs DynamicTask.java
  Log:
  JDK 1.2 compatibility.
  
  Revision  Changes    Path
  1.306     +3 -2      jakarta-ant/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/build.xml,v
  retrieving revision 1.305
  retrieving revision 1.306
  diff -u -r1.305 -r1.306
  --- build.xml	30 Apr 2002 23:13:11 -0000	1.305
  +++ build.xml	7 May 2002 11:08:33 -0000	1.306
  @@ -130,8 +130,6 @@
                unless="jdk1.2+" />
       <exclude name="${optional.package}/ejb/IPlanet*.java"
                unless="jdk1.2+" />
  -    <exclude name="${optional.package}/extension/**/*.java"
  -             unless="jdk1.2+" />
       <!-- uses the context classloader -->
       <exclude name="${optional.package}/junit/JUnitClassLoaderTest.java"
                unless="jdk1.2+" />
  @@ -142,6 +140,8 @@
     <patternset id="needs.jdk1.3+">
       <exclude name="${ant.package}/taskdefs/TestProcess.java"
                unless="jdk1.3+" />
  +    <exclude name="${optional.package}/extension/**/*.java"
  +             unless="jdk1.3+" />
     </patternset>
     <patternset id="needs.jdk1.4+">
       <exclude name="${regexp.package}/Jdk14Regexp*.java"
  @@ -527,6 +527,7 @@
         <classpath refid="classpath" />
   
         <patternset refid="needs.jdk1.2+" />
  +      <patternset refid="needs.jdk1.3+" />
         <patternset refid="needs.jdk1.4+" />
   
         <patternset refid="needs.jakarta.regexp" />
  
  
  
  1.2       +1 -1      jakarta-ant/src/testcases/org/apache/tools/ant/taskdefs/DynamicTask.java
  
  Index: DynamicTask.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/src/testcases/org/apache/tools/ant/taskdefs/DynamicTask.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- DynamicTask.java	27 Apr 2002 12:51:03 -0000	1.1
  +++ DynamicTask.java	7 May 2002 11:08:33 -0000	1.2
  @@ -72,7 +72,7 @@
   
       public class Sub implements DynamicConfigurator {
           public void setDynamicAttribute(String name, String value) {
  -            project.setNewProperty(name, value);
  +            getProject().setNewProperty(name, value);
           }
   
           public Object createDynamicElement(String name) {
  
  
  

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


Mime
View raw message