Databases Reference
In-Depth Information
The following key scripts are provided in the $JDEVELOPER_HOME/jdeveloper/bin
directory for JDeveloper or the $MIDDLEWARE_HOME/$SOA_HOME/bindirectory for
SOA Suite.
ant-sca-compile.xml compiles an SOA composite. ant-sca-
package.xml generates an SAR ile. ant-sca-deploy.xml
deploys an SAR file to an SOA server. This may also be used to
undeploy a composite or export a deployed SAR file and/or its
post-deployment configuration changes.
ant-sca-mgmt.xml controls the status of deployed composites,
allowing them to be started, stopped, activated, and retired. These
functions will be discussed later in this chapter.
ant-sca-test.xml executes the test suites associated with a
composite and writes the results to a directory.
°
°
°
Before executing these scripts, it is necessary to ensure that the environment is
correctly set up. The PATH variable must have the Apache Ant bin directory
( $JDEVELOPER_HOME/modules/org.apache.ant_1.7.0 or $MIDDLEWARE_HOME/
modules/org.apache.ant_1.7.0 ) prepended to it and the JAVA_HOME variable
must point to a JDK such as $MIDDLEWARE_HOME/jdk160_14_R27.6.5-32 .
Note that these scripts can be run with either a JDeveloper installation or an SOA
Suite installation. JDeveloper is not required to run these scripts, meaning that test,
production, and other environments only need to have SOA Suite installed in order
to execute these scripts.
Execute these scripts from the directory where they are found. The scripts are
executed using ant , as shown in the following command line:
ant -f <build-script> -D<parameter1>=<value1> -D<parameter2>=<value2> …
-D<parameterN>=<valueN>
build-script is one of the scripts listed here. Parameters are the inputs to the script.
The following parameters are commonly used.
 
Search WWH ::




Custom Search