[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.technology.equinox] Making p2 repos with PDE structured with categories and IUs

I have a headless build, and I want to make a p2 repos to do installations from.

I want it to look like this:

Category1
  Product1 IU
  Product2 IU
  Category1a
    Feature1 IU (not an executable product)
    Feature2 IU (as above)
  Category1c
  ...

I tried the default p2 metadata generation and was not able to get something like Category1a, I tried making Category1a as a product with the Feature1 and Feature2, but show features did not show through in the categories.

It also creates this very unsatisfying "Uncategorized" category where it puts all of the features. I don't want this category at all. And I don't consider most of my features as separate IUs.

I guess what I want is some more flexibility in the p2 metadata generation to specify my own categories and specify the IUs that go under them (which may or may not be based on products). As far as I know there does not seem to be a way to do this. I'm considering patching the p2 metadata generator to allow this flexibility.

I guess an alternative is to use the old update site stuff and then generate the p2 data from that, but I want to avoid that if possible (when I tried to generate an update site a while ago, I had trouble with that -- I think mainly due to my ignorance).

Are there other alternatives?


-- *new* Common Navigator Framework section in: 3.4RC4 Platform Plugin Developer Guide (Programmer's Guide) http://help.eclipse.org/ganymede/topic/org.eclipse.platform.doc.isv/guide/cnf.htm http://dev.eclipse.org/blogs/francis http://wiki.eclipse.org/Common_Navigator_Framework http://wiki.eclipse.org/Common_Navigator_Framework_Use_Cases


You have brains in your head. You have feet in your shoes. - Dr Seuss, Oh the Places You'll Go