[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [p2-dev] Generating categories and populating them from a master feature

On Wed, Jun 24, 2009 at 11:11 AM, Paul Webster <pwebster@xxxxxxxxxxxxxxxxxxx> wrote:
Hi Ian, thanx for the info.

On Wed, Jun 24, 2009 at 1:35 PM, Ian Bull<irbull@xxxxxxxxxxxxxxxxx> wrote:
> I'm not sure the best way to remove a category.  That seems like a good
> feature to have.

I have a workaround for now (XSLT "fixes" that, at least for now).

I guess XSLT is one way to do it ;). 

I filed [1] for this one.

> For creating categories, adding features, and publishing them, you should
> look at the category publisher:  (This will essentially inject category
> information into your repository).

I'll give this a whirl.  I had 2 questions:

1) is there an equivalent ant task for this, like
p2.publish.featuresAndBundles or p2.publish.product?  I can launch it
as a separate process for now.

Not yet.   Category publishing was the last publisher feature in 3.5, so it still needs some love.  I opened [2] for this.

2) how do I get it to group my auto-generated source bundles?  They
don't "exist" and so I can't add them through the editor.  Will it do
that automatically?  Or should I just edit the file as XML and add
them manually?

Source is interesting. Do you know how update sites handled this?

[1] https://bugs.eclipse.org/bugs/show_bug.cgi?id=281385
[2] https://bugs.eclipse.org/bugs/show_bug.cgi?id=281386



Paul Webster
Hi floor.  Make me a sammich! - GIR
p2-dev mailing list

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