addExternalBundleRepository command

Use the addExternalBundleRepository command to add a link to an external bundle repository.

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

Command-line help is provided for OSGi Applications commands:
  • 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')

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

AdminConfig.save()

Purpose

This command adds a link to an external bundle repository.

Target object

None

Required parameters

-name bundle_repository_name
The name by which you want the external bundle repository link to be known.
-url bundle_repository_URL
The URL of the bundle repository XML file. For example, http://external_location/repository.xml.

Conditional parameters

None.

Optional parameters

-description bundle_repository_description
An optional description of the bundle repository.

Example

AdminTask.addExternalBundleRepository('-name bundle_repository_name 
                               -url http://external_location/repository.xml
                              [-description bundle_repository_description]')
Square brackets ("[ ]") indicate that a parameter is optional.

Icon that indicates the topic type Reference 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=ra_cli_obr_ext_add

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