Network Deployment (Distributed operating systems), v8.0 > Reference > Commands (wsadmin scripting) > OSGiApplicationCommands: OSGi Applications administrative commands


importDeploymentManifest command

Use the importDeploymentManifest command to import a deployment manifest to an enterprise bundle archive (EBA) asset. When you import the file, the bundles are resolved. If the bundles cannot be resolved, the import does not complete and an exception message is generated.

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

Command-line help is provided for OSGi Applications commands:

After using the command, save changes to the master configuration by using the following command:

AdminConfig.save()


Purpose

This command imports a deployment manifest to an EBA asset.

For the import to succeed, the following conditions must be met:

When the deployment manifest is successfully imported to the EBA asset, its file name changes to DEPLOYMENT.MF, and any new bundles that are required to provision the application are downloaded.


Target object

None



Required parameters

-asset

The name of the EBA asset to import the deployment manifest into. This must be an installed EBA asset.

-file

The fully qualified file path for the location of the deployment manifest to import.


Conditional parameters

None



Optional parameters

None


Example

AdminTask.importDeploymentManifest('[-asset
com.ibm.ws.eba.example.blabber.app.eba -file /test/temp/DEPLOYMENT.MF]')

Parent topic: Import a deployment manifest using the importDeploymentManifest command

Parent topic: OSGiApplicationCommands: OSGi Applications administrative commands

Related concepts:

About OSGi Applications
Enterprise bundle archives

Related tasks:

Secure OSGi Applications
Deploy an OSGi application as a business-level application
Import a deployment manifest using the importDeploymentManifest command

Related reference:

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

+

Search Tips   |   Advanced Search