Exporting a deployment manifest using the exportDeploymentManifest command

You can use this 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 make it available for manual update before re-importing it.

Before you begin

You can export a deployment manifest by using wsadmin commands, as described in this topic, or by using the administrative console, as described in Exporting a deployment manifest.

About this task

A deployment manifest file is created automatically for an OSGi application when you install an EBA asset. The deployment manifest file lists all the bundles, at specific versions, that make up an application, including bundles that are determined following dependency analysis. The manifest file is used to ensure that each time an application server starts, the bundles that make up the application are the same. To save this information, or to make it available for manual update, you export the current deployment manifest for the EBA asset.

For more information about why you might want to export the deployment manifest from an EBA asset, see Maintaining bundle versions for an EBA asset.

Procedure

  1. Start the wsadmin scripting client if it is not already running.
  2. Use the exportDeploymentManifest command. For example:
    AdminTask.exportDeploymentManifest('[-asset 
    com.ibm.ws.eba.example.blabber.app.eba -path /test/temp/]')

Results

The current deployment manifest for the application is exported.

What to do next

The deployment manifest is available to view, edit, or import to an EBA asset.

Icon that indicates the topic type Task topic

Terms and conditions for information centers | Feedback


Timestamp icon Last updated: Saturday, 20 October 2012
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=v700osgijpa&product=was-nd-mp&topic=ta_depmf_export_wsadmin

Copyright IBM Corporation 2009, 2012.
This information center is powered by Eclipse technology. (http://www.eclipse.org)