Community
Participate
Working Groups
Build Identifier: I20110613-1736 Iam try to use p2 console to add a repository. I've exported a deployable feature and want to install this unit with p2 console. The repository can be added by eclipse (Install new Software...) and the feature can also be installed. But it doesnt working with console. This error occurs: osgi> provaddrepo http://localhost/shk java.lang.IllegalStateException: No metadata repository manager found at org.eclipse.equinox.internal.p2.console.ProvisioningHelper.addMetadataRepository(ProvisioningHelper.java:40) at org.eclipse.equinox.internal.p2.console.ProvCommandProvider._provaddrepo(ProvCommandProvider.java:80) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.eclipse.osgi.framework.internal.core.FrameworkCommandInterpreter.execute(FrameworkCommandInterpreter.java:209) at org.eclipse.osgi.framework.internal.core.FrameworkConsole.docommand(FrameworkConsole.java:155) at org.eclipse.osgi.framework.internal.core.FrameworkConsole.runConsole(FrameworkConsole.java:140) at org.eclipse.osgi.framework.internal.core.FrameworkConsole.run(FrameworkConsole.java:104) at java.lang.Thread.run(Unknown Source) Reproducible: Always Steps to Reproduce: 1. Create a new run configuration for osgi framework. Select org.eclipse.equinox.p2.console and all required Bundles. 2. Start this new Framework 3. Type into console (fill <URL>): provaddrepo <URL>
is org.eclipse.equinox.ds part of your configuration? A lot of the p2 bundles use DS for discovery and registration of services.
No answer closing.