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/docs/manual/OptionalTasks ejb.html
Date Tue, 30 Apr 2002 14:40:04 GMT
conor       02/04/30 07:40:04

  Modified:    src/main/org/apache/tools/ant/taskdefs/optional/ejb
                        WeblogicDeploymentTool.java
               docs/manual/OptionalTasks ejb.html
  Log:
  Weblogic 7 updates
  Document ejbcclass attribute
  
  PR:	7871
  
  Revision  Changes    Path
  1.40      +7 -3      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.39
  retrieving revision 1.40
  diff -u -w -u -r1.39 -r1.40
  --- WeblogicDeploymentTool.java	30 Apr 2002 13:33:28 -0000	1.39
  +++ WeblogicDeploymentTool.java	30 Apr 2002 14:40:04 -0000	1.40
  @@ -85,6 +85,8 @@
            = "-//BEA Systems, Inc.//DTD WebLogic 5.1.0 EJB//EN";
       public static final String PUBLICID_WEBLOGIC_EJB600
            = "-//BEA Systems, Inc.//DTD WebLogic 6.0.0 EJB//EN";
  +    public static final String PUBLICID_WEBLOGIC_EJB700
  +         = "-//BEA Systems, Inc.//DTD WebLogic 7.0.0 EJB//EN";
   
       protected static final String DEFAULT_WL51_EJB11_DTD_LOCATION
            = "/weblogic/ejb/deployment/xml/ejb-jar.dtd";
  @@ -99,6 +101,8 @@
            = "/weblogic/ejb20/dd/xml/weblogic510-ejb-jar.dtd";
       protected static final String DEFAULT_WL60_DTD_LOCATION
            = "/weblogic/ejb20/dd/xml/weblogic600-ejb-jar.dtd";
  +    protected static final String DEFAULT_WL70_DTD_LOCATION
  +         = "/weblogic/ejb20/dd/xml/weblogic700-ejb-jar.dtd";
   
       protected static final String DEFAULT_COMPILER = "default";
   
  @@ -338,6 +342,7 @@
           handler.registerDTD(PUBLICID_WEBLOGIC_EJB510, DEFAULT_WL51_DTD_LOCATION);
           handler.registerDTD(PUBLICID_WEBLOGIC_EJB510, DEFAULT_WL60_51_DTD_LOCATION);
           handler.registerDTD(PUBLICID_WEBLOGIC_EJB600, DEFAULT_WL60_DTD_LOCATION);
  +        handler.registerDTD(PUBLICID_WEBLOGIC_EJB700, DEFAULT_WL70_DTD_LOCATION);
           handler.registerDTD(PUBLICID_WEBLOGIC_EJB510, weblogicDTD);
           handler.registerDTD(PUBLICID_WEBLOGIC_EJB600, weblogicDTD);
   
  @@ -391,8 +396,7 @@
                   DescriptorHandler handler = getWeblogicDescriptorHandler(ejbDescriptor.getParentFile());
   
                   saxParser.parse(new InputSource
  -                    (new FileInputStream
  -                    (weblogicDD)),
  +                    (new FileInputStream(weblogicDD)),
                       handler);
   
                   Hashtable ht = handler.getFiles();
  
  
  
  1.23      +10 -1     jakarta-ant/docs/manual/OptionalTasks/ejb.html
  
  Index: ejb.html
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/docs/manual/OptionalTasks/ejb.html,v
  retrieving revision 1.22
  retrieving revision 1.23
  diff -u -w -u -r1.22 -r1.23
  --- ejb.html	8 Apr 2002 14:20:23 -0000	1.22
  +++ ejb.html	30 Apr 2002 14:40:04 -0000	1.23
  @@ -22,7 +22,7 @@
   </ul>
   
   <p>Version @VERSION@<br>
  -$Id: ejb.html,v 1.22 2002/04/08 14:20:23 conor Exp $
  +$Id: ejb.html,v 1.23 2002/04/30 14:40:04 conor Exp $
   </p>
   <hr>
   <h2>Table of Contents</h2>
  @@ -1035,6 +1035,15 @@
       <td valign="top">noEJBC</td>
       <td valign="top">If this attribute is set to true, Weblogic's ejbc will not be
run on the EJB jar.
                        Use this if you prefer to run ejbc at deployment time.</td>
  +    <td valign="top" align="center">No.</td>
  +  </tr>
  +  <tr>
  +    <td valign="top">ejbcclass</td>
  +    <td valign="top">Specifies the classname of the ejbc compiler. Normally ejbjar
determines
  +                     the appropriate class based on the DTD used for the EJB. The EJB 2.0
compiler
  +                     featured in weblogic 6 has, however, been deprecated in version 7.
When
  +                     using with version 7 this attribute should be set to 
  +                     &quot;weblogic.ejbc&quot; to avoid the deprecation warning.</td>
       <td valign="top" align="center">No.</td>
     </tr>
   </table>
  
  
  

--
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