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

@@ -22,6 +23,7 @@ @@ -32,10 +34,11 @@ - + +
TaskApplication Servers
serverdeployNested Elements
serverdeployNested Elements
genericGeneric task
jonasJOnAS 2.4
weblogicWeblogic
oc4jOc4j
@@ -311,6 +314,42 @@ </serverdeploy> + +

Oc4j element

+

+

Valid actions for the Oc4j deployment tool are deploy and update. +

If the action is deploy or update, +the application and source attributes must be set. +If the username attribute is omitted, it defaults to "admin". The password attribute is +required for all actions. +

+ + + + + + + + + + + +
AttributeDescriptionRequired
applicationThis is the name of the application being deployedYes
+ + +

Examples

+ +

This example shows the use of serverdeploy to deploy a component to a Oc4j server:

+ +
+    <serverdeploy action="deploy" source="${lib.dir}/ejb_myApp.ear">
+        <oc4j application="myapp"
+            server="ormi://myserver:23791/"
+            classpath="${oc4j.home}/lib/admin.jar"
+            username="${user.name}"
+            password="${user.password}"/>
+    </serverdeploy>
+

Copyright © 2002 Apache Software Foundation. All rights Reserved.