Ant tasks
Use ws_ant to perform any of these tasks:
Note: The wasHome attribute refers to the product installation root (/QIBM/ProdData/WebAS5/Base or /QIBM/ProdData/WebAS5/ND). This location is properly set if the wasHome property is not specified. Do not specify this property on iSeries.
wsadmin
The wsadmin task runs the command-line administration tool with the specified arguments. The implementation class for this task is com.ibm.websphere.ant.tasks.WsAdmin. You can run this task from a remote machine that has the WebSphere Application Server administrative tools installed.Note: When you use the wsadmin scripting objects, include an additional dollar sign ($) before the name of the object. For example, if you want ws_ant to invoke the $AdminApp list command to list the applications on your application server, include this task in the ws_ant buildfile:
<taskdef name="wsAdmin" classname="com.ibm.websphere.ant.tasks.WsAdmin"/> <target name="target"> <wsAdmin command="$$AdminApp list"/> </target>where target is a value that is passed on the ws_ant call.
wsejbdeploy
The wsejbdeploy task runs the EJB Deploy tool on the specified Jar file with the specified options. The implementation class for this task is com.ibm.websphere.ant.tasks.WsEjbDeploy. You must run this task on the local machine.wsInstallApp
The wsInstallApp task installs an application into an application server or a cell. The implementation class for this task is com.ibm.websphere.ant.tasks.InstallApplication. Because wsadmin cannot perform remote installations, run this task on the local machine.wsJspC
The wsJspC task compiles a directory of JSP files into .class files. The implementation class for this task is com.ibm.websphere.ant.tasks.JspC. You must run this task on the local machine.wsListApps
The wsListApps task lists all the applications installed on an application server or a cell. The implementation class for this task is com.ibm.websphere.ant.tasks.ListApplications. You can run this task from a remote machine that has the WebSphere Application Server administrative tools installed.wsNLSEcho
The wsNLSEcho task provides message retrieval with translation and variable substitution. The implementation class for this task is com.ibm.websphere.ant.tasks.NLSEcho. You must run this task on the local machine.wsServerStatus
The wsServerStatus task displays the status of one application server or all application servers. The implementation class for this task is com.ibm.websphere.ant.tasks.ServerStatus. You must run this task on the local machine.wsStartApp
The wsStartApp task starts an application in an application server or cell. The implementation class for this task is com.ibm.websphere.ant.tasks.StartApplication. You can run this task from a remote machine that has the WebSphere Application Server administrative tools installed.wsStartServer
The wsStartServer task starts an application server that is not federated into a Network Deployment cell. The implementation class for this task is com.ibm.websphere.ant.tasks.StartServer. You must run this task on the local machine.wsStopApp
The wsStopApp task stops an application in an application server or cell. The implementation class for this task is com.ibm.websphere.ant.tasks.StopApplication. You can run this task from a remote machine that has the WebSphere Application Server administrative tools installed.wsStopServer
The wsStopServer task stops an application server that is not federated into a Network Deployment cell. The implementation class for this task is com.ibm.websphere.ant.tasks.StopServer. You must run this task on the local machine.wsUninstallApp
The wsUninstallApp task uninstalls an application from an application server or cell. The implementation class for this task is com.ibm.websphere.ant.tasks.UninstallApplication. Because wsadmin cannot uninstall applications remotely, run this task on the local machine.wsValidateModule
The wsValidateModule task validates the deployment descriptor, extensions, and bindings documents of an EAR, WAR, EJB Jar, or Application Client Jar. The implementation class for this task is com.ibm.websphere.ant.tasks.ModuleValidator. You must run this task on the local machine.