[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [p2-dev] Categories

you're right, we are not adding the prefix to the name in the update site.   I will investigate.

I have also put a fix together (yesterday, but it hasn't been released yet) to add version numbers.  (0.0.0.qualifier). This should help make categories unique. 

thanks,
Ian

On Fri, May 1, 2009 at 9:13 AM, James D Miles <jdmiles@xxxxxxxxxx> wrote:

I was using the site wizard. I purposely used the same category name and ID for a series of tests. I was using 0429-0800.

Based on your explanation and the category definitions in the site content.xml files, I understand why it didn't work. But I don't see how to make it work without hacking.

Inactive hide details for Ian Bull ---05/01/2009 10:37:59 AM---James,Ian Bull ---05/01/2009 10:37:59 AM---James,


From:

Ian Bull <irbull@xxxxxxxxxxxxxxxxx>

To:

P2 developer discussions <p2-dev@xxxxxxxxxxx>

Date:

05/01/2009 10:37 AM

Subject:

Re: [p2-dev] Categories




James,

This should work, however because categories are IUs and IUs are always processed as a set, if a category has the same ID and version (don't ask about category versions), then only 1 will get chosen.

We have added a prefix to categories to help make the ID unique.  How did you generate your metadata for the categories?  (and what build did you use).

cheers,
ian

On Fri, May 1, 2009 at 7:16 AM, James D Miles <jdmiles@xxxxxxxxxx> wrote:
    Can someone clarify the category behavior of a site. I was expecting the category to work differently. For instance if I have a category "apples". I would expect that I could pull in "Red Delicious IU" from one site and "Jonathan IU" from another site. But what happens one is site is arbitrarily chosen to represent a category and the remaining IUs from other sites are masked.


    _______________________________________________
    p2-dev mailing list

    p2-dev@xxxxxxxxxxx
    https://dev.eclipse.org/mailman/listinfo/p2-dev



--
R. Ian Bull | EclipseSource Victoria | +1 250 477 7484

http://eclipsesource.com | http://twitter.com/eclipsesource_______________________________________________

p2-dev mailing list
p2-dev@xxxxxxxxxxx

_______________________________________________
p2-dev mailing list
p2-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/p2-dev




--
R. Ian Bull | EclipseSource Victoria | +1 250 477 7484
http://eclipsesource.com | http://twitter.com/eclipsesource

GIF image

GIF image