|problems with headless self update [message #1281157]
||Mon, 31 March 2014 12:46
| Jan Weidauer
Registered: July 2009
I have a product (my.core.product) based on the features:
In my.core.feature are dependencies to:
some plugins from the target platform
In my.business.feature I do have dependencies to
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
uri = new URI(repo.getPath());
manager.setRepositoryProperty(uri, IRepository.PROP_NAME, repo.getName());
for both, IMetadataRepositoryManager and IArtifactRepositoryManager.
But the UpdateOperation always delivers 'nothing to update'.
What do I have to do to make this work?
Powered by FUDForum
. Page generated in 0.04551 seconds