You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cactus-dev@jakarta.apache.org by cm...@apache.org on 2003/10/19 23:32:51 UTC

cvs commit: jakarta-cactus/integration/ant/src/test/org/apache/cactus/integration/ant AntTestCase.java

cmlenz      2003/10/19 14:32:51

  Modified:    integration/ant/src/test/org/apache/cactus/integration/ant
                        AntTestCase.java
  Log:
  Replace a method deprecated in Ant 1.6 by its recommended replacement.
  
  Revision  Changes    Path
  1.10      +3 -2      jakarta-cactus/integration/ant/src/test/org/apache/cactus/integration/ant/AntTestCase.java
  
  Index: AntTestCase.java
  ===================================================================
  RCS file: /home/cvs/jakarta-cactus/integration/ant/src/test/org/apache/cactus/integration/ant/AntTestCase.java,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- AntTestCase.java	29 Jun 2003 14:57:53 -0000	1.9
  +++ AntTestCase.java	19 Oct 2003 21:32:51 -0000	1.10
  @@ -196,7 +196,8 @@
           this.project.init();
           File buildFile = getBuildFile(this.buildFile);
           this.project.setUserProperty("ant.file", buildFile.getAbsolutePath());
  -        ProjectHelper.configureProject(this.project, buildFile);
  +        ProjectHelper helper = ProjectHelper.getProjectHelper();
  +        helper.parse(this.project, buildFile);
           if (getProject().getTargets().get("setUp") != null)
           {
               getProject().executeTarget("setUp");
  
  
  

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