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 @@
Task | Application Servers | |
serverdeploy | Nested Elements | |
serverdeploy | Nested Elements | |
generic | Generic task | |
jonas | JOnAS 2.4 | |
weblogic | Weblogic | |
oc4j | Oc4j |
+
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.
+
+
Attribute | +Description | +Required | +
application | +This is the name of the application being deployed | +Yes | +
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.