You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by an...@apache.org on 2006/09/13 03:40:00 UTC
svn commit: r442789 - in /ant/core/trunk: WHATSNEW
docs/manual/OptionalTasks/ejb.html
src/main/org/apache/tools/ant/taskdefs/optional/ejb/WebsphereDeploymentTool.java
Author: antoine
Date: Tue Sep 12 18:39:59 2006
New Revision: 442789
URL: http://svn.apache.org/viewvc?view=rev&rev=442789
Log:
unrestrict the dbvendor for the websphere element of the ejbjar task.
Bugzilla Report 40475.
Modified:
ant/core/trunk/WHATSNEW
ant/core/trunk/docs/manual/OptionalTasks/ejb.html
ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/ejb/WebsphereDeploymentTool.java
Modified: ant/core/trunk/WHATSNEW
URL: http://svn.apache.org/viewvc/ant/core/trunk/WHATSNEW?view=diff&rev=442789&r1=442788&r2=442789
==============================================================================
--- ant/core/trunk/WHATSNEW (original)
+++ ant/core/trunk/WHATSNEW Tue Sep 12 18:39:59 2006
@@ -6,6 +6,9 @@
* <script> and <scriptdef> now set the current thread context.
+* unrestrict the dbvendor names in the websphere element of the ejbjar task.
+ Bugzilla Report 40475.
+
Fixed bugs:
-----------
Modified: ant/core/trunk/docs/manual/OptionalTasks/ejb.html
URL: http://svn.apache.org/viewvc/ant/core/trunk/docs/manual/OptionalTasks/ejb.html?view=diff&rev=442789&r1=442788&r2=442789
==============================================================================
--- ant/core/trunk/docs/manual/OptionalTasks/ejb.html (original)
+++ ant/core/trunk/docs/manual/OptionalTasks/ejb.html Tue Sep 12 18:39:59 2006
@@ -1353,14 +1353,14 @@
</tr>
<tr>
<td valign="top">dbVendor</td>
- <td valign="top">This option is passed to ejbdeploy. Valid options are for example:
- <ul>
- <li>SQL92</li> <li>SQL99</li> <li>DB2UDBWIN_V71</li>
- <li>DB2UDBOS390_V6</li> <li>DB2UDBAS400_V4R5</li> <li>ORACLE_V8</li>
- <li>INFORMIX_V92</li> <li>SYBASE_V1192</li> <li>MYSQL_V323</li>
- <li>MSSQLSERVER_V7</li>
- </ul>
- This is also used to determine the name of the Map.mapxmi and
+ <td valign="top">This option is passed to ejbdeploy.
+ <p>
+ Valid options can be obtained by running the following command:
+ <code>
+ <WAS_HOME>/bin/EJBDeploy.[sh/bat] -help
+ </code>
+ </p>
+ This is also used to determine the name of the Map.mapxmi and
Schema.dbxmi files, for example Account-DB2UDBWIN_V71-Map.mapxmi
and Account-DB2UDBWIN_V71-Schema.dbxmi.
</td>
Modified: ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/ejb/WebsphereDeploymentTool.java
URL: http://svn.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/ejb/WebsphereDeploymentTool.java?view=diff&rev=442789&r1=442788&r2=442789
==============================================================================
--- ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/ejb/WebsphereDeploymentTool.java (original)
+++ ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/ejb/WebsphereDeploymentTool.java Tue Sep 12 18:39:59 2006
@@ -60,20 +60,6 @@
*
*/
public class WebsphereDeploymentTool extends GenericDeploymentTool {
- /**
- * Enumerated attribute with the values for the database vendor types
- *
- */
- public static class DBVendor extends EnumeratedAttribute {
- public String[] getValues() {
- return new String[]{
- "SQL92", "SQL99", "DB2UDBWIN_V71", "DB2UDBOS390_V6", "DB2UDBAS400_V4R5",
- "ORACLE_V8", "INFORMIX_V92", "SYBASE_V1192", "MSSQLSERVER_V7", "MYSQL_V323"
- };
- }
- }
-
-
public static final String PUBLICID_EJB11
= "-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 1.1//EN";
public static final String PUBLICID_EJB20
@@ -161,18 +147,22 @@
/** Sets the DB Vendor for the Entity Bean mapping ; optional.
- * Valid options are for example:
- * <ul>
- * <li>SQL92</li> <li>SQL99</li> <li>DB2UDBWIN_V71</li>
- * <li>DB2UDBOS390_V6</li> <li>DB2UDBAS400_V4R5</li> <li>ORACLE_V8</li>
- * <li>INFORMIX_V92</li> <li>SYBASE_V1192</li> <li>MYSQL_V323</li>
- * </ul>
+ * <p>
+ * Valid options can be obtained by running the following command:
+ * <code>
+ * <WAS_HOME>/bin/EJBDeploy.[sh/bat] -help
+ * </code>
+ * </p>
+ * <p>
* This is also used to determine the name of the Map.mapxmi and
- * Schema.dbxmi files, for example Account-DB2UDBWIN_V71-Map.mapxmi
- * and Account-DB2UDBWIN_V71-Schema.dbxmi.
+ * Schema.dbxmi files, for example Account-DB2UDB_V81-Map.mapxmi
+ * and Account-DB2UDB_V81-Schema.dbxmi.
+ * </p>
+ *
+ * @param dbVendor database vendor type
*/
- public void setDbvendor(DBVendor dbvendor) {
- this.dbVendor = dbvendor.getValue();
+ public void setDbvendor(String dbvendor) {
+ this.dbVendor = dbvendor;
}
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org