Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » P2 » Managing profiles in a bundle pool
Managing profiles in a bundle pool [message #1713095] Fri, 30 October 2015 21:44 Go to next message
Konstantin Komissarchik is currently offline Konstantin KomissarchikFriend
Messages: 1077
Registered: July 2009
Senior Member
We have an Eclipse installer that we are currently working on converting to use a bundle pool. I need to figure out how to manage the bundle pool. I understand that the pool has a profile registry with a number of profiles. One of these profiles is then referenced by the actual Eclipse installation.

1. How do I remove a profile? Is it ok to just delete the [pool]/p2/org.eclipse.equinox.p2.engine/profileRegistry/*.profile folder?

2. Once a profile is removed, how to I tell p2 to remove the bundles that aren't referenced by any of the remaining profiles?
Re: Managing profiles in a bundle pool [message #1714018 is a reply to message #1713095] Mon, 09 November 2015 12:38 Go to previous messageGo to next message
Lorenzo Bettini is currently offline Lorenzo BettiniFriend
Messages: 1815
Registered: July 2009
Location: Firenze, Italy
Senior Member
On 30/10/2015 22:44, Konstantin Komissarchik wrote:
> We have an Eclipse installer that we are currently working on converting
> to use a bundle pool. I need to figure out how to manage the bundle
> pool. I understand that the pool has a profile registry with a number of
> profiles. One of these profiles is then referenced by the actual Eclipse
> installation.
>
> 1. How do I remove a profile? Is it ok to just delete the
> [pool]/p2/org.eclipse.equinox.p2.engine/profileRegistry/*.profile folder?
>
> 2. Once a profile is removed, how to I tell p2 to remove the bundles
> that aren't referenced by any of the remaining profiles?

Hi

Oomph provides a nice UI to manage bundle pools, including showing which
bundles are not used anymore so that you can physically remove them.

cheers
Lorenzo

--
Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino
HOME: http://www.lorenzobettini.it
Xtext Book:
http://www.packtpub.com/implementing-domain-specific-languages-with-xtext-and-xtend/book


Re: Managing profiles in a bundle pool [message #1717243 is a reply to message #1714018] Thu, 10 December 2015 23:55 Go to previous messageGo to next message
Konstantin Komissarchik is currently offline Konstantin KomissarchikFriend
Messages: 1077
Registered: July 2009
Senior Member
I am interested in pointers to API, especially of Ant or Command Line variety as opposed to end-user tools like Oomph.
Re: Managing profiles in a bundle pool [message #1718925 is a reply to message #1717243] Sat, 02 January 2016 17:36 Go to previous message
Lorenzo Bettini is currently offline Lorenzo BettiniFriend
Messages: 1815
Registered: July 2009
Location: Firenze, Italy
Senior Member
On 11/12/2015 00:55, Konstantin Komissarchik wrote:
> I am interested in pointers to API, especially of Ant or Command Line
> variety as opposed to end-user tools like Oomph.

You may want to ask in the Oomph forum; I think their APIs can be reused
to some extent.

cheers
Lorenzo

--
Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino
HOME: http://www.lorenzobettini.it
Xtext Book:
http://www.packtpub.com/implementing-domain-specific-languages-with-xtext-and-xtend/book


Previous Topic:Feature update is not reported after first updating the nested feature
Next Topic:bundles.info file being updated when application starts
Goto Forum:
  


Current Time: Mon Dec 09 11:19:58 GMT 2024

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

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

Back to the top