ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From co...@apache.org
Subject cvs commit: jakarta-ant/src/main/org/apache/tools/ant/taskdefs/optional/ejb WeblogicDeploymentTool.java
Date Mon, 08 Jan 2001 04:25:27 GMT
conor       01/01/07 20:25:27

  Modified:    src/main/org/apache/tools/ant/taskdefs/optional/ejb
                        WeblogicDeploymentTool.java
  Log:
  avoid breaking backward comatability
  The weblogicDTD attribute in ant 1.2 was used to give the location
  Af the weblogic version of the generic ejb-jar DTD. In recent 1.3alpha builds
  this role was taken by ejbdtd and the weblogicdtd attribute was now used to
  locate the weblogic deployment descriptor's DTD. Whilst sensible, this breaks
  backward comatability.
  
  Therefore, I have reverted the weblogicDTD attribute to work as it did in ant
  1.2 and it is now a synonym for ejbdtd. A new attribute wldtd is used to locate
  the weblogic DTD.
  
  Revision  Changes    Path
  1.10      +10 -1     jakarta-ant/src/main/org/apache/tools/ant/taskdefs/optional/ejb/WeblogicDeploymentTool.java
  
  Index: WeblogicDeploymentTool.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/src/main/org/apache/tools/ant/taskdefs/optional/ejb/WeblogicDeploymentTool.java,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- WeblogicDeploymentTool.java	2001/01/03 14:18:39	1.9
  +++ WeblogicDeploymentTool.java	2001/01/08 04:25:26	1.10
  @@ -156,11 +156,20 @@
       
       
       /**
  -     * Setter used to store the location of the weblogic DTD. This can be a file on the
system 
  +     * Setter used to store the location of the ejb-jar DTD. This can be a file on the
system 
        * or a resource on the classpath. 
        * @param inString the string to use as the DTD location.
        */
       public void setWeblogicdtd(String inString) {
  +        this.ejbDTD = inString;
  +    }
  +
  +    /**
  +     * Setter used to store the location of the weblogic DTD. This can be a file on the
system 
  +     * or a resource on the classpath. 
  +     * @param inString the string to use as the DTD location.
  +     */
  +    public void setWLdtd(String inString) {
           this.weblogicDTD = inString;
       }
   
  
  
  

Mime
View raw message