Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » P2 » problems with headless self update
problems with headless self update [message #1281157] Mon, 31 March 2014 12:46
Jan Weidauer is currently offline Jan WeidauerFriend
Messages: 49
Registered: July 2009
Member
Hi,

I have a product (my.core.product) based on the features:
org.eclipse.e4.rcp
org.eclipse.emf.ecore
org.eclipse.emf.common
my.core.feature

In my.core.feature are dependencies to:
some plugins from the target platform
my.core
my.core.a
my.core.b
my.core.c
my.core.d

In my.business.feature I do have dependencies to
my.business.plugin.e
my.business.plugin.f
my.business.plugin.g
my.business.plugin.h
my.business.plugin.i

My product starts and installs the stuff from my.business.feature
following an configuration file.
If there is anything new to my.business.plugin.xxx, I deploy the feature
and point via configuration to the new repository. P2 then updates
everything as it should.
Above that I need to update the core plugins (my.core...). I tried to
deploy the plugins within another feature and let p2 know of the
additional repository via
<code>
uri = new URI(repo.getPath());
manager.loadRepository(uri, monitor.newChild(100));
manager.setRepositoryProperty(uri, IRepository.PROP_NAME, repo.getName());
</code>
for both, IMetadataRepositoryManager and IArtifactRepositoryManager.
But the UpdateOperation always delivers 'nothing to update'.

What do I have to do to make this work?

Regards,

Jan
Previous Topic:p2 update mechanism problem
Next Topic:Questions re. update sites for read-only/shared installs (might be repost, first time around :) )
Goto Forum:
  


Current Time: Mon Aug 31 11:09:35 GMT 2015

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

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