http://e-docs.bea.com/wls/docs81/deployment/tools.html
command line deploy weblogic
http://e-docs.bea.com/wls/docs91/deployment/wldeployer.html#1000357
create domain
http://e-docs.bea.com/wlp/docs102/quickstart/createdomain.html
The following sample shows a wldeploy target that deploys an application to a single WebLogic Server instance:
<target name="deploy"> <wldeploy action="deploy" source="${build}/ejb11_basic_statelessSession.ear" name="ejbapp" user="a" password="a" verbose="true" adminurl="t3://localhost:7001" debug="true" targets="myserver"/></target>The following sample shows a more advanced wldeploy target that redeploys a single file in an exploded Web Application:
-undeploy
Stops the deployment unit and removes staged files and deployment information from all target servers. (You may also use -remove as an alias.)
Note: An application becomes unavailable to clients during an undeployment. WebLogic Server doesn't guarantee the operation of the application and deployment task if there is an access from the client at this time.
-redeploy
Replaces a running application or part of a running application.
Note: An application becomes unavailable to clients during redeployment. WebLogic Server doesn't guarantee the operation of the application and deployment task if there is an access from the client at this time. For this reason, redeployment is not recommended for use in a production environment.
-stop
Makes an application inactive and unavailable to clients on target servers. The deployment information and staged files remain available on target servers for subsequent -start, -deploy, -redeploy, or -undeploy actions.
-start
Makes an inactive application available to clients on target servers. -start does not redistribute deployment files to target servers; the files must already be available via an earlier -deploy or -distribute action.
-distribute
Perform only the activate stage of a deployment by copying deployment files to target server staging directories (if necessary) and registering the deployment name. The application is ready for deployment, but is unavailable to clients on the target server.
You can later use the -start action to make the application available to clients.
-cancel
Attempts to cancel the task identified by -id if it is not yet completed.
-list
Lists the status of the task identified by -id.
-listtask
Lists running deployment tasks in the domain.
-listapps
Lists all deployment names for applications and standalone modules deployed in the domain.