Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » P2 » CategoryPublisher: category id uses absolute path
CategoryPublisher: category id uses absolute path [message #639684] Wed, 17 November 2010 13:09
Lars Fischer is currently offline Lars FischerFriend
Messages: 105
Registered: July 2009
Senior Member

I would like to add a feature and the referenced bundles into an
existing p2 repository. Now I use the commandline call to the
FeaturesAndBundlesPublisher and it looks like this is working.

Additionally I would like to see the new added feature to appear inside
a new category.

I tried to use a category.xml and call the FeaturesAndBundlesPublisher
with "-categoryDefinition category.xml" but this seems to be wrong. Why
is there no such feature?

I tried to use the CategoryPublisher as a second step and now the new
feature uses the category.

Here are my main questions:

Inside the content.xml of the destination repository is an entry for the
category. This category uses an id which contains the absolute path of
the source category.xml.

What is the id used for?

What happens, if I add a second feature or a new new version of the
first feature to the category with the same name but from an other
category.xml placed in a different path? Could this cause problems?

Is there a way to prevent the usage of the path inside the category id?

Kind regards,
Previous Topic:Best practices for p2 with non-RCP applications
Next Topic:Generating Default IUs
Goto Forum:

Current Time: Mon Apr 23 11:59:28 GMT 2018

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

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