[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
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>
Hi Ian, thanx for the info.
I have a workaround for now (XSLT "fixes" that, at least for now).
On Wed, Jun 24, 2009 at 1:35 PM, Ian Bull<irbull@xxxxxxxxxxxxxxxxx
> I'm not sure the best way to remove a category. That seems like a good
> feature to have.
I guess XSLT is one way to do it ;).
I filed  for this one.
I'll give this a whirl. I had 2 questions:
> For creating categories, adding features, and publishing them, you should
> look at the category publisher: (This will essentially inject category
> information into your repository).
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  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
R. Ian Bull | EclipseSource Victoria | +1 250 477 7484
http://eclipsesource.com | http://twitter.com/eclipsesource