[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [p2-dev] Installed features from an IProfile instance.
|
Hi Pascal,
I've followed what you said and could get the results I've expected. Thanks for the reply.
Sameera.
On Mon, Jun 15, 2009 at 6:25 AM, Pascal Rapicault
<Pascal_Rapicault@xxxxxxxxxx> wrote:
To get all the features you can use the IUPropertyQuery and match a property with name org.eclipse.equinox.p2.type.group and value true.
If you are after all the things that have been explicitly installed (the things you passed in to the profile change request) you may be interested in IUProfilePropertyQuery and match the property IInstallableUnit.PROP_PROFILE_ROOT_IU
PaScaL
Sameera Jayasoma ---06/14/2009 01:14:55 PM---Hi,
Hi,
My requirement is to get the installed feature list from an Profile instances. TheĀ only thing I've found is the following code segment. But it returns all the IUs, not the list of features.
profile.available(InstallableUnitQuery.ANY, new Collector(), null)
Any help would be greatly appreciated.
Thanks
--
Sameera Jayasoma
Software Engineer
WSO2 Inc.
Oxygenating the Web Service Platform.
http://wso2.org/
blog: http://tech.jayasoma.org_______________________________________________
p2-dev mailing list
p2-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/p2-dev
_______________________________________________
p2-dev mailing list
p2-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/p2-dev
--
Sameera Jayasoma
Software Engineer
WSO2 Inc.
Oxygenating the Web Service Platform.
http://wso2.org/blog:
http://tech.jayasoma.org
![GIF image](gifwkOlm8TVo_.gif)
![GIF image](gifB0elZw6jsb.gif)