axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From i..@apache.org
Subject cvs commit: ws-axis/java/tools/org/apache/axis/tools/ant/axis RunAxisFunctionalTestsTask.java
Date Wed, 18 Aug 2004 16:33:11 GMT
ias         2004/08/18 09:33:11

  Modified:    java/tools/org/apache/axis/tools/ant/foreach
                        ForeachTask.java
               java/tools/org/apache/axis/tools/ant/axis
                        RunAxisFunctionalTestsTask.java
  Log:
  Refactored deprecated fields in Task into correspondent getters.
  
  Revision  Changes    Path
  1.15      +1 -1      ws-axis/java/tools/org/apache/axis/tools/ant/foreach/ForeachTask.java
  
  Index: ForeachTask.java
  ===================================================================
  RCS file: /home/cvs/ws-axis/java/tools/org/apache/axis/tools/ant/foreach/ForeachTask.java,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -r1.14 -r1.15
  --- ForeachTask.java	18 Aug 2004 16:30:56 -0000	1.14
  +++ ForeachTask.java	18 Aug 2004 16:33:11 -0000	1.15
  @@ -221,7 +221,7 @@
   
       public void execute() {
           if (subTarget == null) {
  -            throw new BuildException("Attribute target is required.", location);
  +            throw new BuildException("Attribute target is required.", getLocation());
           }
           executeParameters(0);
       }
  
  
  
  1.8       +2 -2      ws-axis/java/tools/org/apache/axis/tools/ant/axis/RunAxisFunctionalTestsTask.java
  
  Index: RunAxisFunctionalTestsTask.java
  ===================================================================
  RCS file: /home/cvs/ws-axis/java/tools/org/apache/axis/tools/ant/axis/RunAxisFunctionalTestsTask.java,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- RunAxisFunctionalTestsTask.java	18 Aug 2004 16:30:56 -0000	1.7
  +++ RunAxisFunctionalTestsTask.java	18 Aug 2004 16:33:11 -0000	1.8
  @@ -180,9 +180,9 @@
       private void antcall (String taskName) {
           CallTarget callee;
           callee = (CallTarget) getProject().createTask("antcall");
  -        callee.setOwningTarget(target);
  +        callee.setOwningTarget(getOwningTarget());
           callee.setTaskName(getTaskName());
  -        callee.setLocation(location);
  +        callee.setLocation(getLocation());
           callee.init();
           callee.setTarget(taskName);
           callee.execute();
  
  
  

Mime
View raw message