Description Syntax Examples sca_compile

9-16 Oracle Fusion Middleware WebLogic Scripting Tool Command Reference

9.6.1.3 Example

The following example sets the property name and property value. wls:mydomainServerConfig sca_setProporacle.home, scratchmyusernamebeahomeAS11gR1SOA

9.6.2 sca_compile

Command Category: Application Compilation Commands Use with WLST: Offline

9.6.2.1 Description

Compiles a SOA composite application.

9.6.2.2 Syntax

sca_compilecomposite, [outXml], [error], [appHome], [displayLevel], [oracleHome]

9.6.2.3 Examples

The following example compiles the FirstComposite application. wls:mydomainServerConfig sca_compiletmpFirstComposite_ rev1.0composite.xml, displayLevel=2 The following example compiles the FirstComposite application and captures details in the myout.xml file. The error.out file captures any errors. wls:mydomainServerConfig sca_compiletmpFirstComposite_ rev1.0composite.xml, outXml=tmpmyout.xml, error=error.out The following example compiles the FirstComposite application. The oracleHome property is set to find the ant-sca-compile.xml script. wls:mydomainServerConfig sca_compiletmpFirstComposite_ rev1.0composite.xml, displayLevel=2, oracleHome=scratchmyusernamebeahomeAS11gR1SOA Note: The sca_compile command requires the oracle.home property to find the ant-sca-compile.xml script. This must be set once. You can use the scac_setProp command or the oracleHome property to set a value. Argument Definition composite Absolute path of a composite file in the expanded unzipped SAR directory. outXml Optional. Absolute path of an output XML file. error Optional. Absolute path of an error file. appHome Optional. Absolute path of the application home directory. This property is required if you have shared data. displayLevel Optional. The level of information to display. The default value is 1. oracleHome Optional. The oracle.home property. Oracle SOA Suite Custom WLST Commands 9-17

9.7 SOA Composite Application Packaging Commands

Use the packaging command, listed in Table 9–7 , to package SOA composite applications into a composite SAR file.

9.7.1 sca_package

Command Category: Application Packaging Commands Use with WLST: Offline

9.7.1.1 Description

Packages the SOA composite application files into a composite SAR file. This command performs the following operations: ■ Calls sca_compile to compile the composite artifacts in {compositeDir}.