Network Deployment (Distributed operating systems), v8.0 > Reference > Commands (wsadmin scripting) > OSGiApplicationCommands: OSGi Applications administrative commands
modifyExternalBundleRepository command
Use the modifyExternalBundleRepository command to modify 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, run at the wsadmin prompt:
print AdminTask.help('OSGiApplicationCommands')
- For overview help on a given command, run at the wsadmin prompt:
print AdminTask.help('command_name')
After using the command, save changes to the master configuration by using the following command:
AdminConfig.save()
Purpose
This command modifies a link to an external bundle repository.
Target object
The specified external bundle repository link.
Required parameters
-name bundle_repository_name
The name of the external bundle repository link. We cannot change this value. We can use the listExternalBundleRepositories command to list the names of existing bundle repository links.
Conditional parameters
None
Optional parameters
-url bundle_repository_URL
The modified URL for the external bundle repository XML file.
-description bundle_repository_description
The modified description of the external bundle repository link.
Example
AdminTask.modifyExternalBundleRepository('-name bundle_repository_name [-url //publib.boulder.ibm.com/infocenter/wasinfo/v8r0/index.jsp?topic=/ ://external_location/repository.xml] [-description bundle_repository_description]')Square brackets ("[ ]") indicate that a parameter is optional.
Parent topic: Administer links to external bundle repositories using wsadmin
Parent topic: OSGiApplicationCommands: OSGi Applications administrative commands
Related concepts:
About OSGi ApplicationsRelated tasks:
Secure OSGi Applications
Administer links to external bundle repositories
Administer links to external bundle repositories using wsadminRelated reference:
listExternalBundleRepositories command
removeExternalBundleRepository command
addExternalBundleRepository command
showExternalBundleRepository command
OSGi Applications: Troubleshooting tipsRelated information:
External bundle repositories [Collection]
External bundle repositories [Settings]
Reference topic Feedback
Copyright IBM Corporation 2009, 2011. All Rights Reserved.
This information center is powered by Eclipse technology.