Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » PDE Build / P2 / Use installation as context repository?
PDE Build / P2 / Use installation as context repository? [message #666070] Mon, 18 April 2011 21:19 Go to next message
Volker Wegert is currently offline Volker WegertFriend
Messages: 182
Registered: July 2009
Senior Member
Hi all,

I'm trying to convert an ancient (3.3) product-based PDE build system to
a HELIOS installation, and I've run into some issues with the P2
integration. From what I've read (unfortunately the documentation looks
rather provisional - pun intended), I need to set p2.gathering to true
if I want my product to be updatable. The director then tells me that
it's unable to collect some bundles because it was unable to find a
repository containing the bundles. So far, so good. In order to build
all the Java stuff, I've already prepared a base installation that
corresponds to my target platform and contains all of the plug-ins and
features required (simply by unzipping the individual project packages
on top of an Eclipse SDK package). Is it possibly to somehow set
p2.context.repos or some other property to tell the director to collect
existing plug-ins from that directory?


* Volker Wegert * *
Re: PDE Build / P2 / Use installation as context repository? [message #666166 is a reply to message #666070] Tue, 19 April 2011 11:43 Go to previous message
Paul Webster is currently offline Paul WebsterFriend
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

Have a look at ld.html

you can set a property called pluginPath to point to the root of your
eclipse that you unzipped your other plugins over ... it's not a valid
p2 install/repo, however.

You could place all of the repos (and presumably plugin/feature zips)
under repoBaseLocation and then the build would create a useful target
platform for you in transformedRepoLocation


Paul Webster platform.doc.isv/guide/workbench.htm

Previous Topic:Including two Features in one archive
Next Topic:PDE product build with features : import cannot be resolved
Goto Forum:

Current Time: Sun Jun 20 04:55:49 GMT 2021

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

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

Back to the top