Use the asant command to automate repetitive development
and deployment tasks. asant is a shell script that invokes
the underlying Ant infrastructure after initializing the environment to pickup
the application server installed targets.
To use Ant as part of the Sun Java System Application Server, verify
that your PATH includes the provided asant (Solaris) ant.bat(Windows) script.
The bundled sample applications use asant extensively;
however, asant can be used in any development or operational
environments.
The build targets are represented in the build.xml
files that accompany the sample applications.
To use the Ant tool to compile and reassemble the sample applications,
verify that the $AS_INSTALL/bin directory is on your
environment's path. On UNIX, add the $AS_INSTALL/bin
directory to your PATH environment variable. On Windows, after installing
the Sun Java System Application Server, set the system path by adding $AS_INSTALL\bin to the user PATH. You can access the PATH system
variable from: Start menu, Settings, Control Panel, System, Advanced, Environment
Variables, User Variables for Administrator, PATH.
The target_list is one or more space separated
tasks as described below.
|