They would but we are attempting to rev the versions internally and then 
publish.  So if we accidentally publish a bad artifact, we'd like to remove it 
and then re-publish without changing the version.  Also repository size may be 
a concern.

Thanks for your help!

On May 24, 2013, at 9:31 PM, Pascal Rapicault 
<[email protected]<mailto:[email protected]>> wrote:

No, this is not a capability that the publisher applications have. Their goal 
is to be straightforward and dumb :) Read some files produce some metadata.
But I would ask, if you have different features what would not they have a 
different version?

From: [email protected]<mailto:[email protected]> 
[mailto:[email protected]<mailto:[email protected]>] On Behalf 
Of Josh Hester
Sent: May-24-13 9:27 PM
To: P2 developer discussions
Subject: Re: [p2-dev] How to uninstall a feature from a p2 site

Thanks for the reply!

Sorry, I misspoke earlier.  We *are* using the Features and Bundles publisher 
(org.eclipse.equinox.p2.publisher.FeaturesAndBundlesPublisher).  Is there an 
option that we can pass in to remove a feature that has already been published? 
 I see the p2.remove.iu task.  Is there a command line option to pass this to 
the features and bundles publisher application?

Thanks,

-Josh


On May 24, 2013, at 8:57 PM, Pascal Rapicault 
<[email protected]<mailto:[email protected]>> wrote:


There is an ant task called p2.remove.iu [1] that allows to remove IUs from a 
repository. Note that if this repo has been “put in production” this is not 
recommended as users may rely on the IUs you want to remove.
Another way to easily deal with repos is to use composite repository and 
publish different builds (assuming that this is what you are trying to do) in 
different repos.

Finally the p2 director is not used to add and remove to a repo. This is the 
role of the publisher. The director is the tool that performs the installation

[1] 
http://help.eclipse.org/juno/index.jsp?topic=%2Forg.eclipse.platform.doc.isv%2Fguide%2Fp2_repositorytasks.htm&resultof=%22p2%22%20%22ant%22%20%22task%22<http://help.eclipse.org/juno/index.jsp?topic=/org.eclipse.platform.doc.isv/guide/p2_repositorytasks.htm&resultof=%22p2%22%20%22ant%22%20%22task%22>

From: [email protected]<mailto:[email protected]> 
[mailto:[email protected]<mailto:[email protected]>] On Behalf 
Of Josh Hester
Sent: May-24-13 10:12 AM
To: [email protected]<mailto:[email protected]>
Subject: [p2-dev] How to uninstall a feature from a p2 site

Hi,

We are using the p2 director to publish features and bundles to a p2 site.  Is 
there a way to uninstall features from the p2 update site?

Thanks,

-Josh
_______________________________________________
p2-dev mailing list
[email protected]<mailto:[email protected]>
https://dev.eclipse.org/mailman/listinfo/p2-dev

_______________________________________________
p2-dev mailing list
[email protected]<mailto:[email protected]>
https://dev.eclipse.org/mailman/listinfo/p2-dev

_______________________________________________
p2-dev mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/p2-dev

Reply via email to