Update of 
/cvsroot/xdoclet/xdoclet/modules/ibm/src/xdoclet/modules/ibm/websphere/ejb
In directory 
sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16118/xdoclet/modules/ibm/src/xdoclet/modules/ibm/websphere/ejb

Modified Files:
        WebSphereSubTask.java 
Log Message:
Major update of the IBM WebSphere module to support WebSphere v5.* and v6.0, 
see XDT-1107 for details

Index: WebSphereSubTask.java
===================================================================
RCS file: 
/cvsroot/xdoclet/xdoclet/modules/ibm/src/xdoclet/modules/ibm/websphere/ejb/WebSphereSubTask.java,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -r1.7 -r1.8
*** WebSphereSubTask.java       16 Aug 2004 09:43:08 -0000      1.7
--- WebSphereSubTask.java       7 Nov 2004 18:01:09 -0000       1.8
***************
*** 15,18 ****
--- 15,19 ----
   *
   * @author        Minh Yie
+  * @author        <a href="mailto:magnuslarsson at 
users.sourceforge.net">Magnus Larsson</a>
   * @created       15 August 2001
   * @ant.element   display-name="WebSphere" name="websphere" 
parent="xdoclet.modules.ejb.EjbDocletTask"
***************
*** 33,36 ****
--- 34,42 ----
      private static String WEBSPHERE_DD_SCHEMA_FILE_NAME = "Schema.dbxmi";
  
+     /**
+      * A member for the default CMP DataSource
+      */
+     private String  datasource;
+ 
      public WebSphereSubTask()
      {
***************
*** 39,42 ****
--- 45,68 ----
  
      /**
+      * Gets the default CMP Datasource attribute
+      *
+      * @return   The default CMP Datasource
+      */
+     public String getDatasource()
+     {
+         return datasource;
+     }
+ 
+     /**
+      * Sets the default CMP Datasource attribute
+      *
+      * @param datasource  The new default CMP Datasource
+      */
+     public void setDatasource(String datasource)
+     {
+         this.datasource = datasource;
+     }
+ 
+     /**
       * Called to validate configuration parameters.
       *
***************
*** 65,73 ****
          startProcess();
  
!         if (atLeastOneCmpEntityBeanExists()) {
!             
setTemplateURL(getClass().getResource(WEBSPHERE_SCHEMA_TEMPLATE_FILE));
!             setDestinationFile(WEBSPHERE_DD_SCHEMA_FILE_NAME);
!             startProcess();
!         }
      }
  
--- 91,102 ----
          startProcess();
  
!         /*
!          * Conflicts with WSAD so we better simply rely on the CMP mapping 
capabilities in WSAD and WebSphere!
!          * if (atLeastOneCmpEntityBeanExists()) {
!          * 
setTemplateURL(getClass().getResource(WEBSPHERE_SCHEMA_TEMPLATE_FILE));
!          * setDestinationFile(WEBSPHERE_DD_SCHEMA_FILE_NAME);
!          * startProcess();
!          * }
!          */
      }
  



-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
_______________________________________________
xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to