Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Buckminster » create a site.p2 from the target platform (again)
create a site.p2 from the target platform (again) [message #989996] Mon, 10 December 2012 11:40
Lorenzo Bettini is currently offline Lorenzo BettiniFriend
Messages: 1812
Registered: July 2009
Location: Firenze, Italy
Senior Member

In a previous post, ,
we discussed how to create a p2 repository from the target platform (I
also blogged about the mechanism I finally used,

however, I think there's an easier way of doing that with Buckminster,
but I haven't read about this around, so I was wondering whether it
makes sense: since Buckminster is able to materialize dependencies, and
binary dependencies go into the target platform, why not expressing the
target platform as a feature project, and a feature.xml like this, for

<?xml version="1.0" encoding="UTF-8"?>
id=... SKIPPED ...

<includes id="org.eclipse.rcp" version="0.0.0"/>
<includes id="org.eclipse.rcp.source" version="0.0.0"/>
<includes id="org.eclipse.equinox.executable" version="0.0.0"/>
<includes id="org.eclipse.emf.sdk" version="0.0.0"/>

and have a build component which depends on this feature? Then having a
cquery to materialize the build component will also materialize the
target platform expressed by that feature project...

Then, running site.p2 action on that feature project will also give you
a repository with the target platform and then building a product with
the p2 director relying (also) on this site.p2 will not give you bad
surprises; indeed, this part usually gives you error about required
features not found, and one has to manually fill the feature.xml used to
build the product with missing bundles.

I've made an example (that I'd love to share) and it works perfectly,
but I was wondering whether this makes sense...

thanks in advance

Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino
ICQ# lbetto, 16080134 (GNU/Linux User # 158233)

Previous Topic:equinox repository prefs are not installed
Next Topic:Running ExternalTools headless
Goto Forum:

Current Time: Sun Jul 14 22:14:58 GMT 2024

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

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

Back to the top