[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [p2-dev] Use p2 API and tests

Hi Pascal,


Yes, Mylyn's discovery UI is pretty much what I'm looking for. The missing part would be something that would allow to uninstall as easily. Or another similar UI, listing only the installed components, to do just that. Right now, having to go to Help -> About Eclipse -> Installation details and seeing all installed components is not very intuitive. Since we want users to discover experimental features, we don't want them to get stuck if they don't like them and have to read doc to find how to remove them.


Thanks for pointing this out. I'll look at it and see what can be done for easy uninstallation.

Geneviève


On 2017-03-24 03:42 PM, Pascal Rapicault wrote:
Hi Genevieve,

You may be interested in the p2 discovery UI.
In the attached screenshot you can see it being used by Mylyn.

HTH

Pascal


On 3/24/2017 12:26 PM, Genevieve Bastien wrote:
Hi,


I am a developer on the Trace Compass project and I am working on a feature to automatically install/update/uninstall experimental features (Eclipse plugins in an update site). I was thinking of using p2 for this of course.


My idea is to create a wizard that would list all features (in the sense of Eclipse feature group) of the update site with their current status (installed/upgrade available/not installed). The user would select the actions to do for each, and then I would call sequentially, if needed, the uninstall wizard, update wizard and install wizard with the appropriate operation.


First, does it sound like a good plan? I started implementing this and it works, at least with the install wizard, I haven't tried many wizards in a row yet. Any advice on this?


Also, I will need to unit test this and would like to use the p2 testing facilities. We are using a target platform. Are the o.e.e.p2.tests plugins published anywhere?


Thanks,

Geneviève

_______________________________________________
p2-dev mailing list
p2-dev@xxxxxxxxxxx
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
p2-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/p2-dev