Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse 4 » "No repository found containing" error while generating P2
"No repository found containing" error while generating P2 [message #1695830] Tue, 19 May 2015 15:26 Go to next message
Piero Campalani is currently offline Piero CampalaniFriend
Messages: 111
Registered: January 2015
Senior Member

Dear experts,

I am exporting an RCP Eclipse product, and if I generate the P2 repository along I get the following error (see also attachment):

 No repository found containing: osgi.bundle,org.apache.log4j,1.2.15.v201012070815



I am using Log4J in my plugins, of course, but I am not sure here where should I start investigating.

The blaiming JAR is right in the Eclipse installation plugins/ folder.

Thanks as always,
-Piero
Re: "No repository found containing" error while generating P2 [message #1695834 is a reply to message #1695830] Tue, 19 May 2015 16:37 Go to previous messageGo to next message
Dirk Fauth is currently offline Dirk FauthFriend
Messages: 2525
Registered: July 2012
Senior Member
Where do you get the plugin from? p2 is feature based, so you need a repository that contains the bundle in a feature.
Re: "No repository found containing" error while generating P2 [message #1695928 is a reply to message #1695834] Wed, 20 May 2015 11:21 Go to previous message
Thomas Elskens is currently offline Thomas ElskensFriend
Messages: 159
Registered: September 2014
Location: Brussels - Belgium
Senior Member
I remember having had the same problem some time ago.

My guess : you say the jar is present in your eclipse installation. That's not good enough: have you selected your eclipse installation as (part of the) target of your workspace ? If not, the bundles your installation contains will not be taken into account for dependency resolution.
Previous Topic:Share Objects with MApplication.getContext()
Next Topic:Convert a set of plugin projects to a minimal Eclipse 4 RCP
Goto Forum:
  


Current Time: Tue Nov 21 02:55:59 GMT 2017

Powered by FUDForum. Page generated in 0.01727 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software