PreviousNext
JavaScript must be enabled to correctly display this content
Ant based build and deploy
Make sure to execute these commands inside the soadeploy pod.
For Oracle SOA Suite composite applications:
Build an Oracle SOA Suite composite application using Ant. For example,
if the composite application to be deployed is available at
/composites/antproject/Project, enter the following
commands:
cd /u01/oracle/soa/bin
ant -f ant-sca-package.xml \
-DcompositeDir=/composites/antproject/Project \
-DcompositeName=Project \
-Drevision=0.1
The SOA Archive is generated at
/composites/antproject/Project/deploy/sca_Project_rev0.1.jar,
which will be used for deploying.
Deploy into the Oracle SOA Suite instance using Ant:
cd /u01/oracle/soa/bin
ant -f ant-sca-deploy.xml \
-DserverURL=http://soainfra-cluster-soa-cluster:7003 \
-DsarLocation=/composites/antproject/Project/deploy/sca_Project_rev0.1.jar \
-Doverwrite=true \
-Duser=weblogic -Dpassword=REPLACE-WITH-WEBLOGIC-PASSWORD