[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [p2-dev] How to add a new feature to an existing repository?

Hi Shenol,

Can you please advise how to pass a source repository to the categoryPublisher? The current syntax documented is as the following. It doesn't contain a source repository.

-console -consolelog -application org.eclipse.equinox.p2.publisher.CategoryPublisher
-metadataRepository file:/<repo location>/repository
-categoryDefinition file:/home/irbull/workspaces/p2/mail/category.xml
-categoryQualifier
-compress


Best Regards

Samuel Wu


Inactive hide details for "Yousouf, Shenol" ---02/10/2011 11:14:56 AM---Hello Samuel, I think that the features and bundles pub"Yousouf, Shenol" ---02/10/2011 11:14:56 AM---Hello Samuel, I think that the features and bundles publisher does not take into account the site.xm


From:

"Yousouf, Shenol" <s.yousouf@xxxxxxx>

To:

P2 developer discussions <p2-dev@xxxxxxxxxxx>

Date:

02/10/2011 11:14 AM

Subject:

Re: [p2-dev] How to add a new feature to an existing repository?

Sent by:

p2-dev-bounces@xxxxxxxxxxx




Hello Samuel,

I think that the features and bundles publisher does not take into account the site.xml, but the update site publisher does. As it takes arguments similar to the features and bundles publisher, you can give it a try.
The other way is to run the category publisher after publishing the features and bundles with a proper category.xml, pointing to the already created metadata repository.

Best regards,
Shenol Yousouf
SAP Labs Bulgaria

From: p2-dev-bounces@xxxxxxxxxxx [mailto:p2-dev-bounces@xxxxxxxxxxx] On Behalf Of Samuel Wu
Sent:
Thursday, February 10, 2011 5:42 PM
To:
P2 developer discussions
Subject:
Re: [p2-dev] How to add a new feature to an existing repository?

Hello Shenol,
I'm running a PDE headless build and want to publish the build result. I tried to add the following ant task to my build and it did publish the build result. But the problem is that the features are publish without a category. I manually updated the site.xml and created the category for the new features, but I didn't see the newly added category when I tried to install from the repository.

<p2.publish.featuresAndBundles
metadataRepository="file:/X:/build/website/tpftoolkit/nls36"
artifactRepository="file:/X:/build/website/tpftoolkit/nls36"
publishArtifacts="true"
compress="true"
append="true"
source="${buildDirectory}/buildRepo"/>


Also looked at the headless Category Publisher, but couldn't figure out how to define the source directory yet.

Best Regards

Samuel Wu


Inactive hide details for "Yousouf, Shenol" ---02/08/2011 12:21:28 PM---Hello Samuel, How are you building these features ? Pub"Yousouf, Shenol" ---02/08/2011 12:21:28 PM---Hello Samuel, How are you building these features ? Publisher applications can be run with an option


From:

"Yousouf, Shenol" <s.yousouf@xxxxxxx>

To:

P2 developer discussions <p2-dev@xxxxxxxxxxx>

Date:

02/08/2011 12:21 PM

Subject:

Re: [p2-dev] How to add a new feature to an existing repository?

Sent by:

p2-dev-bounces@xxxxxxxxxxx





Hello Samuel,


How are you building these features ? Publisher applications can be run with an option “-append” which will add the new features to an already existing repository. Some details here:

http://wiki.eclipse.org/Equinox/p2/Publisher

Best regards,
Shenol Yousouf

SAP Labs Bulgaria


From:
p2-dev-bounces@xxxxxxxxxxx [mailto:p2-dev-bounces@xxxxxxxxxxx] On Behalf Of Samuel Wu
Sent:
Tuesday, February 08, 2011 6:48 PM
To:
p2-dev@xxxxxxxxxxx
Subject:
[p2-dev] How to add a new feature to an existing repository?

Hello there,
Our product has a repository to ship the optional features. We've already shipped a few features and now we want to ship a few more. But when the new features are built, the content.xml and artifacts.xml only contains the newly built features. And the manual merge of the files with the old one is next to impossible. I wonder how to add the new features to the existing repository. Thanks a lot.

Best Regards

Samuel Wu
_______________________________________________
p2-dev mailing list
p2-dev@xxxxxxxxxxx

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

GIF image

GIF image