Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Equinox » Reading plugins of a feature on an updatesite
Reading plugins of a feature on an updatesite [message #776219] Sat, 07 January 2012 21:59
Markus Oley is currently offline Markus OleyFriend
Messages: 301
Registered: July 2009
Location: Germany
Senior Member
Hi to all,

I'd like to read all contained plugins of a feature that is contributed on an updatesite. Is there any API available?

I'm reading my features like:

IProvisioningAgent agent = (IProvisioningAgent)
ServiceHelper.getService(Activator.getBundleContext(),
IProvisioningAgent.SERVICE_NAME);
IMetadataRepositoryManager manager = (IMetadataRepositoryManager)
agent.getService(IMetadataRepositoryManager.SERVICE_NAME);

IMetadataRepository repository = manager.loadRepository(new URI(updatesiteUrl), 0, new NullProgressMonitor());
IQueryResult<IInstallableUnit> categories = repository.query(QueryUtil.createIUCategoryQuery(), new NullProgressMonitor());

for (.....)
IQueryResult<IInstallableUnit> queryForCategory = repository.query(QueryUtil.createIUCategoryMemberQuery(nextCategory), new NullProgressMonitor());


Any help is useful,

Thanks by now

Best regards
Markus

Previous Topic:Why Equinox is not in Juno release p2 ?
Next Topic:Need help with program args during product update
Goto Forum:
  


Current Time: Sun Oct 17 04:30:08 GMT 2021

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

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

Back to the top