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?

Thanks
Volker

--
* Volker Wegert * http://www.volker-wegert.de/contact *
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
http://pweclipse.blogspot.com/2010/09/simple-rcp-product-bui 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

PW


--
Paul Webster
http://wiki.eclipse.org/Platform_Command_Framework
http://wiki.eclipse.org/Command_Core_Expressions
http://wiki.eclipse.org/Platform_Expression_Framework
http://wiki.eclipse.org/Menu_Contributions
http://wiki.eclipse.org/Menus_Extension_Mapping
http://help.eclipse.org/helios/index.jsp?topic=/org.eclipse. 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: Fri Apr 19 02:56:15 GMT 2024

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

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

Back to the top