Index: serverdeploy.html
===================================================================
RCS file: /home/cvspublic/jakarta-ant/docs/manual/OptionalTasks/serverdeploy.html,v
retrieving revision 1.2
diff -u -r1.2 serverdeploy.html
--- serverdeploy.html	30 Mar 2002 13:15:52 -0000	1.2
+++ serverdeploy.html	21 May 2002 18:47:45 -0000
@@ -14,6 +14,7 @@
 <ul>
 <li>Christopher A. Longo (<a href="mailto:cal@cloud9.net">cal@cloud9.net</a>)</li>
 <li>Cyrille Morvan (<a href="mailto:cmorvan@ingenosya.com">cmorvan@ingenosya.com</a>)</li>
+<li>Henning Saul (<a href="mailto:henning.saul@bbc.co.uk">henning.saul@bbc.co.uk</a>)</li>
 </ul>
 
 </p>
@@ -22,6 +23,7 @@
 
 <ul>
 <li><a href="http://www.bea.com" target="_top">Weblogic</a> servers</li>
+<li><a href="http://www.oracle.com" target="_top">Oracle</a> 9iAS/OC4J servers</li>
 <li><a href="http://www.objectweb.org/jonas/" target="_top">JOnAS</a>
 2.4 Open Source EJB server</li>
 </ul>
@@ -32,10 +34,11 @@
 
 <table border="1" cellpadding="5">
 <tr><td>Task</td><td colspan="2">Application Servers</td></tr>
-<tr><td rowspan="4"><a href="#serverdeploy_element">serverdeploy</a></td><td colspan="2" align="center"><b>Nested Elements</b></td></tr>
+<tr><td rowspan="5"><a href="#serverdeploy_element">serverdeploy</a></td><td colspan="2" align="center"><b>Nested Elements</b></td></tr>
 <tr><td><a href="#serverdeploy_generic">generic</a></td><td>Generic task</td></tr>
 <tr><td><a href="#serverdeploy_jonas">jonas</a></td><td>JOnAS 2.4</td></tr>
 <tr><td><a href="#serverdeploy_weblogic">weblogic</a></td><td>Weblogic</td></tr>
+<tr><td><a href="#serverdeploy_oc4j">oc4j</a></td><td>Oc4j</td></tr>
 
 </table>
 
@@ -311,6 +314,42 @@
     &lt;/serverdeploy&gt;
 </pre>
 
+<a name="serverdeploy_oc4j">
+<h3>Oc4j element</h3>
+<p>
+<p>Valid actions for the Oc4j deployment tool are <code>deploy</code> and <code>update</code>.
+<p>If the action is <code>deploy</code> or <code>update</code>,
+the <code>application</code> and <code>source</code> attributes must be set.
+If the <code>username</code> attribute is omitted, it defaults to "admin".  The <code>password</code> attribute is
+required for all actions.
+<p>
+<table border="1" cellpadding="2" cellspacing="0">
+  <tr>
+    <td valign="top"><b>Attribute</b></td>
+    <td valign="top"><b>Description</b></td>
+    <td valign="top"><b>Required</b></td>
+  </tr>
+  <tr>
+    <td valign="top">application</td>
+    <td valign="top">This is the name of the application being deployed</td>
+    <td>Yes</td>
+  </tr>
+</table>
+
+
+<h3>Examples</h3>
+
+<p>This example shows the use of serverdeploy to deploy a component to a Oc4j server:</p>
+
+<pre>
+    &lt;serverdeploy action=&quot;deploy&quot; source=&quot;${lib.dir}/ejb_myApp.ear&quot;&gt;
+        &lt;oc4j application=&quot;myapp&quot;
+            server=&quot;ormi://myserver:23791/&quot;
+            classpath=&quot;${oc4j.home}/lib/admin.jar&quot;
+            username=&quot;${user.name}&quot;
+            password=&quot;${user.password}&quot;/&gt;
+    &lt;/serverdeploy&gt;
+</pre>
 
 <hr>
 <p align="center">Copyright &copy; 2002 Apache Software Foundation. All rights Reserved.</p>
