How to Use ant to Import Postdeployment Changes of a Composite

The following provides an example of importing postdeployment changes of a composite.

ant -f ant-sca-deploy.xml importUpdates -DserverURL=server.url -DjarFile=jar.file
 -DcompositeName=composite.name -Drevision=revision -Duser=user

Note:

After specifying the user name, enter the password when prompted.

Table 48-18 describes the syntax.

Table 48-18 ant Postdeployment Import Commands

Argument Definition

serverURL

The URL of the server that hosts the SOA Infrastructure application (for example, http://myhost:8001).

jarFile

The absolute path of the JAR file that contains postdeployment changes.

compositeName

The name of the composite into which the postdeployment changes are imported.

revision

The revision of the composite to which the postdeployment changes are imported.

user

Optional. The user name for accessing the server when basic configuration is configured.

password

Optional. The password for accessing the server when basic configuration is configured.

The following example shows how to import postdeployment changes of a composite:

ant -f ant-sca-deploy.xml importUpdates -DserverURL=http://myhost:8001
 -DjarFile=/tmp/prop-HelloWorld_rev1.0.jar -DcompositeName=HelloWorld
 -Drevision=1.0