Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » P2 » DBTools and P2(Attempt to convert a set of plug-ins to be P2 Compatible)
icon9.gif  DBTools and P2 [message #898095] Wed, 25 July 2012 19:10 Go to next message
David Coley is currently offline David ColeyFriend
Messages: 37
Registered: July 2012
Member
Please forgive me if this is in the wrong forum. This is my first posting to this site. I have read wiki after wiki, googled and read the forum but cannot seem to get the answer I need.

I have a requirement to take the IBM DBTool which is a stand alone eclipse variant, and take the required Features / Plug-ins into our custom internal P2 Repository.

I am trying to make it so that developers do not need to have multiple versions of Eclipse installed.

Right now if you install the IBM DB Tools tool using the Install Manager it comes with, it create PLUGINS and FEATURES directories. Inside the base of this is a repository.config which has "ProfileLayout=P1"

The features do not have any jar files in them... only feature.xml files. The Plug-in folders have Source and Compiled Jar files in them.

Any pointers on how (or if it is possible) to get this working as a internal update site would be greatly appreciated.
Re: DBTools and P2 [message #898186 is a reply to message #898095] Thu, 26 July 2012 00:49 Go to previous messageGo to next message
Henrik Lindberg is currently offline Henrik LindbergFriend
Messages: 2509
Registered: July 2009
Senior Member
You can basically build a p2 update site with PDE Build, Buckminster or
Tycho - which one to pick depends on what suits you / your organization.

Do you need headless builds and are not already using PDE Build, then I
suggest you use one of the other two which both can build a p2 update
site using Eclipse IDE, or in headless fashion.

Once you produced a p2 update site, simply publish it on a web server.

If you are uncertain about how all the parts fit together (features,
plugins, fragments, products, p2 update sites, update managers, etc.
etc.) then I recommend the Introductory chapters of the "Bucky Book"
available from the Buckminster update site.

How to actually use PDE, Buckminster or Tycho are topics for their
respective forums.

Hope that helps.
Best Regards
- henrik

On 2012-25-07 21:10, David Coley wrote:
> Please forgive me if this is in the wrong forum. This is my first
> posting to this site. I have read wiki after wiki, googled and read the
> forum but cannot seem to get the answer I need.
>
> I have a requirement to take the IBM DBTool which is a stand alone
> eclipse variant, and take the required Features / Plug-ins into our
> custom internal P2 Repository.
>
> I am trying to make it so that developers do not need to have multiple
> versions of Eclipse installed.
>
> Right now if you install the IBM DB Tools tool using the Install Manager
> it comes with, it create PLUGINS and FEATURES directories. Inside the
> base of this is a repository.config which has "ProfileLayout=P1"
>
> The features do not have any jar files in them... only feature.xml
> files. The Plug-in folders have Source and Compiled Jar files in them.
>
> Any pointers on how (or if it is possible) to get this working as a
> internal update site would be greatly appreciated.
Re: DBTools and P2 [message #898306 is a reply to message #898095] Thu, 26 July 2012 07:29 Go to previous message
Eclipse UserFriend
Hi David,
You might consider using the headless p2 publisher
http://wiki.eclipse.org/Equinox/p2/Publisher

Based on that you could transform, e.g., a complete Eclipse installation (with eclipse.exe and feature/plugin folders) into a p2 repository ("update site"). The "Features and Bundles Publisher" should do this:
http://wiki.eclipse.org/Equinox/p2/Publisher#Features_And_Bundles_Publisher_Application

Regards,
Previous Topic:Can't get P2 to load remote repository
Next Topic:get my repository in p2.inf as default in 'Available software sites'
Goto Forum:
  


Current Time: Tue Mar 19 05:31:51 GMT 2024

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

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

Back to the top