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.

The wsadmin scripting client is run from Qshell. For more information, see Configuring Qshell to run WebSphere® Application Server scripts.

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 type of topic Reference topic

Terms and conditions for information centers | Feedback


Timestamp icon Last updated: Tuesday, 19 June 2012
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=matt&product=was-nd-iseries&topic=ra_cli_obr_ext_add
File name: ra_cli_obr_ext_add.html