Network Deployment (Distributed operating systems), v8.0 > Reference > Commands (wsadmin scripting) > OSGiApplicationCommands: OSGi Applications administrative commands
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, 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 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, //publib.boulder.ibm.com/infocenter/wasinfo/v8r0/index.jsp?topic=/ ://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 //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
modifyExternalBundleRepository 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.