Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Equinox » How to install IUs without feature/p2 metadata into a p2 repository?
How to install IUs without feature/p2 metadata into a p2 repository? [message #527862] Fri, 16 April 2010 17:04 Go to next message
Michael Pellaton is currently offline Michael PellatonFriend
Messages: 289
Registered: July 2009
Senior Member
Hello

I have some IU's (aka plugins) that are
a) not part of a feature
b) not provided from an update site or p2 repo
c) distributed as binary jars

I tried to use the p2 director application as explained on the wiki [1],
but it seems that it needs a source repository for all IUs. However,
introducing these IUs into a repository is exactly the thing I'd like to
achieve.

How can IU's that are present as jar files at some local location that
is not a site/repository be installed into a p2 repository?

In case that does not work, can I somehow gerenate site metadata
(site.xml, artifacts.jar, metadata.jar) for these plugins?

The background of this request is that I want to mirror all artifacts
of our internal Eclipse distribution and then install from there. Some
extensions [2][3] we use are only available as jar downloads.

[1] http://wiki.eclipse.org/Equinox_p2_director_application
[2] http://cvschangelog.sourceforge.net
[3] http://sourceforge.net/projects/copyaspath

Thanks

Michael
Re: How to install IUs without feature/p2 metadata into a p2 repository? [message #527886 is a reply to message #527862] Fri, 16 April 2010 18:54 Go to previous messageGo to next message
Paul Webster is currently offline Paul WebsterFriend
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

You probably want the Feature and Bundles Publisher [1]. It is capable
of generating metadata (p2 repositories) from pre-built Eclipse bundles
and features.

[1]
http://help.eclipse.org/galileo/index.jsp?topic=/org.eclipse .platform.doc.isv/guide/p2_publisher.html

--
Paul Webster
http://wiki.eclipse.org/Platform_Command_Framework
http://wiki.eclipse.org/Command_Core_Expressions
http://wiki.eclipse.org/Menu_Contributions
http://wiki.eclipse.org/Menus_Extension_Mapping
http://help.eclipse.org/galileo/index.jsp?topic=/org.eclipse .platform.doc.isv/guide/workbench.htm


Re: How to install IUs without feature/p2 metadata into a p2 repository? [message #527905 is a reply to message #527886] Fri, 16 April 2010 20:31 Go to previous message
Michael Pellaton is currently offline Michael PellatonFriend
Messages: 289
Registered: July 2009
Senior Member
Hello Paul,

Cool - thank you very much for the hint! The FeaturesAndBundlesPublisher
is exactly the tool I was looking for :-)

Thanks,
Michael Pellaton
Previous Topic:hot swapping Bundles in equinox
Next Topic:Update site
Goto Forum:
  


Current Time: Thu Apr 25 19:14:12 GMT 2024

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

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

Back to the top