problems with headless self update [message #1281157] |
Mon, 31 March 2014 12:46 |
Jan Weidauer 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
|
|
|
Powered by
FUDForum. Page generated in 0.02856 seconds