soaBuild
Compiles and generates an SCA artifact for the composite that can be deployed to the server. You should checkout or export code for Composite project (not entire JDeveloper application) from SCM prior to running this operation. Checkout or Export can be easily done if you configure project with Source details by using operations like exportProjectSources
, cloneProjectSources
etc. depending on SCM being used by Project.
It is good practice to create FlexDeploy project with name that matches composite name. You can create projects for all composites from same JDeveloper Application under one FlexDeploy application.
This artifact may be a full composite SAR file or it may be a sparse patch SAR file (12.2.1+ versions only), if a patch.xml file is detected in the checked out code.
This operation should be run on a SOA server. To accomplish this, Flexagon recommends checking the "Build Environment" checkbox for Development environment that is mapped to your SOA Instance. You do not have to create a special build environment for this purpose.
Generated SCM artifact can be deployed to subsequent environments using configuration plans, so no additional compilation is done prior to deployment. You can create SOA instance in FlexDeploy and associate it to DEV
, QA
, PRODUCTION
environments, then Build workflow can be executed in DEV
environment and generated project version can be deployed to DEV
, QA
and PRODUCTION
at appropriate times. If version in FlexDeploy state is same in all environments that means that same version of composite is deployed in all environments. If you are using composite specific configuration plans, build operation will discover and save them in configPlans
folder under artifacts and will be available at deploy time as well. You can indicate configuration plan to use during deploy at project level or globally in workflow, for more details see