Database Reference
In-Depth Information
Setting
up
ant
for
automated
composite management
All component management tasks that can be performed manually through the
web-based Oracle Enterprise Manager Fusion Middleware Control console can
also be executed with a script through the command-line utility ant. In this section,
we describe how to use ant to start up, shut down, activate, and retire compos-
ites, as well as package and deploy them. Oracle SOA Suite 11g ships all neces-
sary ant scripts to perform these tasks, and they are quite easy to use.
Setting the environment
Here, we will describe how to set both Linux and Microsoft Windows based en-
vironments to allow you to run your ant commands through the command line.
Your ant scripts do not have to be installed on the same machine running Oracle
SOA Suite 11g. In fact, it is not unusual to dedicate a single machine or server,
which would host your ant scripts, allowing you to centralize the startup, shut-
down, and deployment of your SOA composites to multiple target environments.
You will also see how ant enables automated build management for your envir-
onment in later sections of this chapter.
Setting the environment path for ant
In your environment, we assume that Oracle SOA Suite 11g is installed, which is
recommended, as it will include all the required binaries to run ant. The Middle-
ware Home, the Oracle SOA Suite 11g Home, the Java Home, WebLogic Server
username and password, and SOA server host and port will need to be updated
appropriately to reflect your environment. Directory locations and JDK versions
may differ depending on the patchset of Oracle SOA Suite 11g installed. These
commands must be executed to set your environment paths before running any
ant command.
Search WWH ::




Custom Search