ANT is a Java™ based build tool and the name stands for
Another Neat Tool. ANT is a powerful scripting tool that can be used to
automate build and deployment processes. It is similar to the Make tool,
except that instead of using operating system shell-based commands, ANT
uses Java classes to perform its operations. WebSphere Application Server
includes the Open Source ANT plus some additional WebSphere Application
Server specific ANT tasks such as:
- wsInstallApp enables you to install a new
application into a WebSphere Application Server or Cell
- wsUninstallApp enables you to uninstall an existing
application from a WebSphere Application Server or Cell
- wsListApps lists all the applications installed on
a WebSphere Application Server or Cell
- wsStartServer enables you to start a stand-alone
server instance
- wsadmin executes the WebSphere Application Server
command-line administration tool with the specified arguments.
To run your ANT build files in WebSphere Application Server, use the
ws_ant command line utility. ws_ant also sets up the correct classpath so
that the WebSphere Application Server ANT tasks can be used successfully
along with the ANT built-in tasks. Run ws_ant from the bin directory under
your WebSphere Application Server install path. For example, to execute
the target named install in your build file, enter the following command:
ws_ant -buildfile C:\build.xml install
Refer to the ANT
tasks documentation in the Information Center for more details.
|