How to Use ant to Remove a Top-level Shared Data Folder

The following provides an example of removing a top-level shared data folder, even if there are composites deployed in the service engine:

ant -f ant-sca-deploy.xml removeSharedData -DserverURL=server.url
 -DfolderName=folder.name -Duser=user

Note:

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

Table 48-20 describes the syntax.

Table 48-20 ant Shared Data Folder Removal Commands

Argument Definition

serverURL

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

foldername

The name of the top-level shared data folder to remove.

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 remove a top-level shared data folder named Project1:

ant -f ant-sca-deploy.xml removeSharedData -DserverURL=http://myhost:8001
 -DfolderName=Project1