Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Buckminster » equinox repository prefs are not installed (Trying to pre-define available p2 sites does not seem to work)
equinox repository prefs are not installed [message #965119] Tue, 30 October 2012 22:16 Go to previous message
Edward Pershwitz is currently offline Edward Pershwitz
Messages: 9
Registered: February 2012
Junior Member
I'm sure I'm doing something wrong... it's just figuring out what it is, is a bit tricky.. please help.

I have a self-updating RCP app built by a headless Buckminster build. I've added a repository in p2.inf, which is both in the product defining-feature and the application plugin META-INF (tried different combinations).

The PDE exports the product fine, creates
<install_dir>\p2\org.eclipse.equinox.p2.engine\profileRegistry\<my_profile>\.data\.settings\org.eclipse.equinox.p2.metadata.repository.prefs
and
<install_dir>\p2\org.eclipse.equinox.p2.engine\profileRegistry\<my_profile>\.data\.settings\org.eclipse.equinox.p2.artifact.repository.prefs

and the app comes up with a preconfigured repository just like I need it.

When I run a headless Buckminster build I can see my p2.inf in the product-defining feature jar and in my application jar in the p2 repository I publish to, but when I install the product metadata and artifact repository preferences are not generated (like above), and needless to say there is no preconfigured repository in available sites of the "Install new software" wizard.

I have already been through the stage of not fully qualifying addRepository action in my p2.inf (most prevalent example out there does not fully qualify the action and so that does not work) and so now the PDE is happy but the build (or the installer) is still not providing the required prefs.

How can I debug this? Thanks for your help!

 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic:The import org.eclipse.swt cannot be resolved
Next Topic:create a site.p2 from the target platform (again)
Goto Forum:
  


Current Time: Sat May 25 13:26:25 EDT 2013

Powered by FUDForum. Page generated in 0.01761 seconds