Nope. The best you can get is run the GC from the an application that belongs to the bundle pool.
Then you can specify the -profile option to specify which profile to GC.


You need to be running the On 15-12-11 01:09 PM, Konstantin Komissarchik wrote:

Another question… Is there a way to call GC on a bundle pool that doesn’t belong to the GC process, like you can with director?

Thanks,

- Konstantin


*From: *Konstantin Komissarchik
*Sent: *Friday, December 11, 2015 8:57 AM
*To: *Pascal Rapicault;P2 developer discussions
*Subject: *Re: [p2-dev] Pool cleaner needed

Thanks! That does the trick. I found a reference to the GC tool on the wiki, but on the wiki the tool is called on a certain profile. Could you clarify the semantics of calling GC with or without a profile?

https://wiki.eclipse.org/Equinox/p2/FAQ

Thanks,

- Konstantin


*From: *Pascal Rapicault
*Sent: *Friday, December 11, 2015 4:36 AM
*To: *P2 developer discussions
*Subject: *Re: [p2-dev] Pool cleaner needed

p2 provides a GC application to deal with these cases
Try the following command line:
eclipse -application org.eclipse.equinox.p2.garbagecollector.application

Pascal

On 15-12-11 12:59 AM, Konstantin Komissarchik wrote:

    I have not had much luck getting this question answered on the p2
    forum, so I am trying here…

    I am working on updating Sapphire build system to use a shared
    bundle pool for all the Eclipse installs that are created in the
    course of the build. What I am struggling with is how to clean the
    pool so that it doesn’t grow without bound. The build does remove
    old profiles, but p2 doesn’t seem to be performing any pool
    cleanup in the director invocation.

    Is there another p2 application that I should be calling to scrub
    the pool?

    Thanks,

    - Konstantin



    _______________________________________________

    p2-dev mailing list

    [email protected] <mailto:[email protected]>

    To change your delivery options, retrieve your password, or unsubscribe 
from this list, visit

    https://dev.eclipse.org/mailman/listinfo/p2-dev


_______________________________________________
p2-dev mailing list
[email protected]
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://dev.eclipse.org/mailman/listinfo/p2-dev

Reply via email to