[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [p2-dev] Installed features from an IProfile instance.

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


Inactive hide details for Sameera Jayasoma ---06/14/2009 01:14:55 PM---Hi,Sameera Jayasoma ---06/14/2009 01:14:55 PM---Hi,


From:

Sameera Jayasoma <sameera.madushan@xxxxxxxxx>

To:

P2 developer discussions <p2-dev@xxxxxxxxxxx>

Date:

06/14/2009 01:14 PM

Subject:

[p2-dev] Installed features from an IProfile instance.




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


GIF image

GIF image