Date Created: Tue 10-Feb-2009

Related Document Categories:



    ws_ant commands for WebSphere ant.

    The table below lists the available ant tasks which can be used in ant build scripts to automate administration of certain areas of WebSphere. WebSphere also provides a command line tool called ws_ant.sh (Unix) or ws_ant.bat (Windows) which can be used to set up an ant shell. You configure the automation task as you would any ant task using a build.xml file.

    If you want total control of WebSphere you must use Jython using the wsadmin,sh or wsadmin.bat commands.

    Here are some links from my site:

    http://www.webspheretools.com/sites/webspheretools.nsf/docs!searchview&query=[pagetitle]+CONTAINS+*ws_ant*&SearchOrder=1

     
    Date Created
     
    Title
     10/02/2009 ws_ant commands for WebSphere ant
     08/03/2009 ws_ant script to install an application into WebSphere.
     27/01/2009 WebSphere Consultants
     22/01/2008 Ant script to start and stop applications in WebSphere
     22/01/2008 Ant script to validate an ear file after depoyment on WebSphere Application Server
     22/01/2008 Ant build file to show IBM WebSphere Application server status.
     12/08/2008 Lotus Notes WebSphere Consultant
     03/07/2008 Java Consultant. Java Consulting.


    Note: If you have access to the Application Server Toolkit (ASTK) you can search in the help for WebSphere ant to gain some useful WebSphere ant knowledge



    Here are key commands:

    Class Summary of Package com.ibm.websphere.ant.tasks
    endptEnablerThe endptEnabler task enables a set of web services within an Enterprise Application Archive (EAR) file.
    endptEnabler.PropertyUsed for nested property definitions.
    WsEjbDeployThe wsejbdeploy task executes the WebSphere EJB Deploy tool on the specified Jar file with the specified options.
    WSDeployThe wsdeploy task executes the WebSphere Web Services Deploy tool on the specified EAR file with the specified options.
    WSDL2JavaThe WSDL2Java task creates Java classes and deployment descriptor templates from a Web Services Description Language (WSDL) file.
    WSDL2Java.MappingUsed for nested package definitions.
    UninstallApplicationThe wsUninstallApp task enables you to uninstall an existing application from a WebSphere Server or Cell.
    StopServerThe wsStopServer task enables you to stop a standalone server instance.
    StopApplicationThe wsStopApp task enables you to stop an existing or newly installed application on a WebSphere Server or in a WebSphere Cell.
    StartServerThe wsStartServer task enables you to start a standalone server instance.
    StartApplicationThe wsStartApp task enables you to start an existing or newly installed application on a WebSphere Server or in a WebSphere Cell.
    ServerStatusThe wsServerStatus task enables you to get status on a server instance or all server instances.
    ServerControlServerControl is the abstract base class of StartServer, StopServer, and ServerStatus.
    NLSEchowsNLSEcho Task: This is a echo extension task to display translated messages.
    ModuleValidatorThe wsValidateModule task performs validation of the deployment descriptor, extensions, and bindings documents of an EAR, WAR, EJB Jar, or Application Client Jar.
    MessagesThe Messages task is used by other wsanttasks to retrieve their National Language Messages.
    ListApplicationsThe wsListApps task lists all the applications installed on a WebSphere Server or Cell.
    JspCThe JspC task compiles JSP files into .class files.

    JspC is included in WebSphere Application Server and is found in the jar wsanttasks.jar.
    Java2WSDLThe Java2WSDL task maps a Java class to a Web Services Description Language (WSDL) file.
    Java2WSDL.MappingUsed for nested package definitions.
    WsAdminThe wsadmin task executes the WebSphere command-line administration tool with the specified arguments.
    InstallApplicationThe wsInstallApp task enables you to install a new application into a WebSphere Server or Cell.
    DefaultBindingsThe wsDefaultBindings task enables you to generate default IBM WebSphere Bindings for the specified EAR file.
    If you wish to know more about the ant class hierarchy consult the link below.
    http://publib.boulder.ibm.com/infocenter/wasinfo/v7r0/index.jsp?topic=/com.ibm.websphere.express.doc/info/exp/ae/rxml_7adminjdbc2.html

Middleware Mentor - Steven Charles Robinson

About Me

Steve Robinson has been working in IT for over 15 years and has provided solutions for many large-enterprise corporate companies across the world. Steve specialises in Java and Middleware consulting. Steve comes from both an administration and development background.

Before moving to JEE, Steve was an accomplished developer and consultant for both IBM Lotus Notes and Microsoft .NET Technologies.

Follow Steve as @stevencrobinson on twitter.

Read my books?

IBM WebSphere Application Server 8.0 Administration Guide

IBM WebSphere Application Server 8.0 Administration Guide

WebSphere Application Server 7.0 Administration Guide

WebSphere Application Server 7.0 Administration Guide

WebSphere Categories

Oracle WebLogic Categories

JBoss Categories

Other Categories