[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [p2-dev] Remove plugins from installed feature
- From: Pascal Rapicault <pascal@xxxxxxxxxxxx>
- Date: Thu, 16 Jun 2011 18:24:07 -0400
- Delivered-to: firstname.lastname@example.org
The message returned by the application is erroneous. It should say that this operation failed.... Please open a bug: https://bugs.eclipse.org/bugs/enter_bug.cgi?product=Equinox
The reason why uninstalling junit is not possible is because the jdt feature strictly includes the org.junit bundle and as such it can not be removed.
Generally speaking, features represent just one potential grouping of bundles for a particular usecase and are therefore not usable in all circumstances. If you find yourself willing to remove this bundle or that bundle,then it is a good sign that you should have your own feature or talk to the owner of the feature to break it down further
On 2011-06-16, at 5:51 PM, Abdelhalim Ragab wrote:
> I have this question for more than a month, and I still couldn't find
> an answer, so I'm trying here
> I'm building an eclipse product and we'll ship several other tools
> with our product, but we have some reasons not to ship specific
> plugins, which should be OK as we are not relying on their
> My question is how to remove those specific plugins once I Installed
> the feature.
> For example, I installed JDT which comes with Junit, and now I want to
> remove junit plugins only.
> I have tried the director application with -uninstallIU
> <path-to-director>/director -uninstallIU org.junit -destination
> `pwd`/linux_gtk_x86_3.6 -profile SDKProfile -purgeHistory
> I'm seeing the output
> Uninstalling org.junit 4.8.1.v4_8_1_v20100427-1100.
> Uninstalling org.junit 3.8.2.v3_8_2_v20100427-1100.
> Operation completed in 4358 ms.
> but the plugins are still there, and I don't see them removed from the
> artifacts.xml or bundles.info files.
> I'm not expert in p2, and I guess I'm missing something, so I
> appreciate any possible help.
> p2-dev mailing list