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 vm...@apache.org on 2003/09/07 22:13:24 UTC

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

vmassol     2003/09/07 13:13:24

  Modified:    integration/ant/src/java/org/apache/cactus/integration/ant
                        CactusTask.java
  Log:
  Removed the addition of a "context" attribute which was committed by error
  
  Revision  Changes    Path
  1.22      +1 -17     jakarta-cactus/integration/ant/src/java/org/apache/cactus/integration/ant/CactusTask.java
  
  Index: CactusTask.java
  ===================================================================
  RCS file: /home/cvs/jakarta-cactus/integration/ant/src/java/org/apache/cactus/integration/ant/CactusTask.java,v
  retrieving revision 1.21
  retrieving revision 1.22
  diff -u -r1.21 -r1.22
  --- CactusTask.java	7 Sep 2003 19:54:37 -0000	1.21
  +++ CactusTask.java	7 Sep 2003 20:13:24 -0000	1.22
  @@ -103,13 +103,6 @@
        * The archive that contains the web-app that is ready to be tested.
        */
       private File warFile;
  -
  -    /**
  -     * The WAR context where the cactus tests are located. If not specified
  -     * this task will try to guess the context from the WAR file name or if
  -     * an EAR is used from parsing the <code>application.xml</code> file. 
  -     */
  -    private String contextName;
       
       /**
        * The factory for creating ant tasks that is passed to the containers.
  @@ -272,15 +265,6 @@
                   "You may only specify one of [earfile] and [warfile]");
           }
           this.warFile = theWarFile;
  -    }
  -
  -    /**
  -     * @param theContextName the context name of the webapp where the Cactus
  -     *        tests are located
  -     */
  -    public final void setContext(String theContextName)
  -    {
  -        this.contextName = theContextName;
       }
   
       // Private Methods ---------------------------------------------------------