Network Deployment (Distributed operating systems), v8.0 > Administer applications and their environment > Administer OSGi applications > Export and importing a deployment manifest file


Export a deployment manifest

We can export the current deployment manifest 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.


Before you begin

We can export a deployment manifest by using the administrative console as described in this topic, or by using wsadmin commands, as described in Export a deployment manifest using the exportDeploymentManifest command.


About this task

A deployment manifest file, META-INF/DEPLOYMENT.MF, is created automatically when you import an EBA asset. The deployment manifest file lists, at specific versions, all the bundles and composite bundles that make up the 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.

We can export the current deployment manifest from an EBA asset, then import the deployment manifest into another asset that contains the same application. The target asset then uses the imported manifest instead of the generated manifest. This is useful during application development, when an application is fully tested and moves to a production environment. By importing the deployment manifest from the test environment, you ensure that the bundles and their versions that make up the application in the production environment are exactly the same as the bundles that make up the application in the test environment. Do not edit an exported manifest file. Only use the export and import options in situations where you can treat the exported file as a "black box".


Procedure

  1. Start the administrative console.
  2. Navigate to Applications > Application Types > Assets.

  3. Click the name of the asset from which to export the deployment manifest. The Asset settings panel is displayed.

  4. Click [Additional Properties] Export the deployment manifest from this application.

  5. Use the web browser dialog that is displayed to save the file to your required location. If the dialog does not offer the options that you need, check you web browser options, for example the options to download or save files.


Results

The current deployment manifest for the application is exported.


What to do next

The deployment manifest is available to import into an EBA asset. See Import a deployment manifest.


Subtopics

Parent topic: Export and importing a deployment manifest file

Related concepts:

About OSGi Applications
Enterprise bundle archives

Related tasks:

Secure OSGi Applications
Deploy an OSGi application as a business-level application

Related reference:

OSGi Applications: Troubleshooting tips
OSGi deployment manifest file
Task topic Feedback
Copyright IBM Corporation 2009, 2011. All Rights Reserved.
This information center is powered by Eclipse technology.

+

Search Tips   |   Advanced Search