Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Equinox » How to include third party bundles into a p2 Update Site?
How to include third party bundles into a p2 Update Site? [message #631250] Wed, 06 October 2010 16:54 Go to next message
Holger Voormann is currently offline Holger VoormannFriend
Messages: 26
Registered: July 2009
Junior Member
What's the best practise to include third party bundles into a p2 Update/Software Site?

Eclipse Vex requires org.w3c.css.sac from Eclipse Orbit (plus plug-ins from WTP and EMF). Unfortunately, Eclipse Orbit is not registered as "Available Software Site" per default. This means, installation of Vex fails because of the missing org.w3c.css.sac from Orbit.

There are four (or more?) possibilities:

1. Tell the user to manually add the Orbit Update Site (current solution)
-> uncomfortable installation

2. Create a composite repository including the Vex and the Orbit (and WTP and EMF) repositories
-> "Help > Install New Software..." and working with the composite Update Site URL lists also all installable features of other included repositories

3. Copy the required metadata of org.w3c.sac from the Orbit repository into the Vex repository
-> Fails if this specific version of the third party artefacts is moved or deleted (e.g. replaced by a newer one)
-> Repository must be recreated on every (bug fix) update of the third party bundle

4. Copy the whole org.w3c.sac plug-in into Vex repository
-> Redundant data
-> Repository must be recreated on every (bug fix) update of the third party bundle

I also tried to add a reference of the Orbit repository in content.xml (using the /repository/references/repository element) but even with the option "Contact all update sites during install to find required software" org.w3c.css.sac is not be found.

Any idea or hint how to deal with such third party bundles in a p2 Update Site? What's the best practice?

(see also https://bugs.eclipse.org/326347)
Re: How to include third party bundles into a p2 Update Site? [message #631258 is a reply to message #631250] Wed, 06 October 2010 17:19 Go to previous messageGo to next message
Mickael Istria is currently offline Mickael IstriaFriend
Messages: 865
Registered: July 2009
Location: Grenoble, France
Senior Member

Hi,

IMHO, the good way to do that (which is the one recommanded when using some bundles from Orbit in Eclipse.org project) [1, 2], is to include the bundle in your feature and your update-site.

[1] http://wiki.eclipse.org/Easy_Bake_Builds_with_Orbit_Bundles
[2] http://wiki.eclipse.org/Orbit_Builds#Orbit_Builds_for_Consum ers
--
Mickael Istria -- BonitaSoft S.A.
http://www.bonitasoft.com/products/BPM_download.php
Re: How to include third party bundles into a p2 Update Site? [message #631264 is a reply to message #631258] Wed, 06 October 2010 18:02 Go to previous message
Holger Voormann is currently offline Holger VoormannFriend
Messages: 26
Registered: July 2009
Junior Member
Hi Mickael,

thanks fort the quick response. Smile

If I understood it correctly, this means the repository should host the metadata and the artefacts of the third party bundles. But this means that the repository is bound to a specific version of this bundle, e.g. when the third bundle is updated then the repository of the feature which requires this bundle has to be updated too. If possible, I like to include a reference to the third party repository instead of hosting a specific version of the third party bundle so that always the latest and greatest bundle will be installed.
Previous Topic:Correct use of fragments?
Next Topic:Equinox and CrEme (J2ME CDC)
Goto Forum:
  


Current Time: Fri Apr 26 01:29:46 GMT 2024

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

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

Back to the top