removeExternalBundleRepository command

Use the removeExternalBundleRepository command to remove a link to an external bundle repository.

To run the command, use the AdminTask object For iSeries platforms]AdminTask object .

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

Command-line help is provided:
  • 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 configuration repository by using the following command:

AdminConfig.save()

Purpose

This command removes a link to an external bundle repository.

Target object

The specified bundle repository link.

Required parameters

-name bundle_repository_name
The name by which the bundle repository link is known. You can use the listExternalBundleRepositories command to list the names of existing bundle repository links.

Conditional parameters

None.

Optional parameters

None.

Example

AdminTask.removeExternalBundleRepository('-name bundle_repository_name')