exportDeploymentManifest command

Use the exportDeploymentManifest command to export the current deployment manifest, the DEPLOYMENT.MF file, from an enterprise bundle archive (EBA) asset. You might want to do this to save the information, or to import it into another identical application.

To run the command, use the AdminTask object of the wsadmin scripting client.

Command-line help is provided:
  • For a list of the available OSGi Applications commands in Jython and a brief description of each command, enter the following command at the wsadmin prompt:

    print AdminTask.help('OSGiApplicationCommands')

  • For overview help on a given command, enter the following command at the wsadmin prompt:

    print AdminTask.help('command_name')

Purpose

This command exports the current deployment manifest from an EBA asset.

Target object

None.

Required parameters

-asset
The name of the EBA asset to export the deployment manifest from. This must be an installed EBA asset.
-path
The file path for the location of the exported deployment manifest. If the location does not exist, the export process creates it.

Conditional parameters

None.

Optional parameters

None.

Example

AdminTask.exportDeploymentManifest('[-asset 
com.ibm.ws.eba.example.blabber.app.eba -path /test/temp/]')