Update of /cvsroot/xdoclet/xdoclet/modules/ibm/src/xdoclet/modules/ibm/websphere/ejb In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9590/xdoclet/modules/ibm/src/xdoclet/modules/ibm/websphere/ejb
Modified Files: WebSphereSubTask.java Log Message: Documentation and ”old code” updated. Some old tags are marked as deprecated but kept in the code for backward compatibility. The new websphere tag attributes “websphere.bean.listenerPort” and “websphere.persistence.datasource” has changed names to “websphere.mdb.listenerPort” and “websphere.cmp.datasource” to better reflect their intended use. Index: WebSphereSubTask.java =================================================================== RCS file: /cvsroot/xdoclet/xdoclet/modules/ibm/src/xdoclet/modules/ibm/websphere/ejb/WebSphereSubTask.java,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -r1.8 -r1.9 *** WebSphereSubTask.java 7 Nov 2004 18:01:09 -0000 1.8 --- WebSphereSubTask.java 15 Nov 2004 00:19:33 -0000 1.9 *************** *** 10,19 **** /** ! * This is a JavaDoc doclet plugin that can be used to generate EJB-related files from just one or a set of EJB bean ! * source files that uses custom EJBDoclet JavaDoc tags. In addition to the files generated by EJBDoclet, ! * WebSphereDoclet will also generate WebSphere specific deployment XML files. * * @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" --- 10,28 ---- /** ! * Generates WebSphere specific deployment descriptors for EJB modules. The following files are generated: ! * ibm-ejb-jar-bnd.xmi, ibm-ejb-jar-ext.xmi and Schema.dbxmi. <p> ! * ! * NOTE: Since the WebSphere specific deployment descriptors depend on that id's are set in the ejb-jar.xml file you ! * must genererate it with useIds set to true, e.g. <code><deploymentdescriptor useIds="true"/></code>. </p> <p> ! * ! * This Ant task defines the following attributes (the rest of the attributes in the list below comes from its ! * baseclass): ! * <ul> ! * <li> datasource</li> ! * </ul> ! * </p> * * @author Minh Yie ! * @author <a href="mailto:ml at callista.se">Magnus Larsson</a> * @created 15 August 2001 * @ant.element display-name="WebSphere" name="websphere" parent="xdoclet.modules.ejb.EjbDocletTask" *************** *** 45,49 **** /** ! * Gets the default CMP Datasource attribute * * @return The default CMP Datasource --- 54,58 ---- /** ! * Gets the default CMP Datasource * * @return The default CMP Datasource *************** *** 55,59 **** /** ! * Sets the default CMP Datasource attribute * * @param datasource The new default CMP Datasource --- 64,68 ---- /** ! * Sets the default CMP Datasource * * @param datasource The new default CMP Datasource *************** *** 92,102 **** /* ! * 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(); ! * } */ } --- 101,111 ---- /* ! * TODO: 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: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ xdoclet-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-devel