2017-02-14 156 views
1

通过命令行安装eclipse功能是众所周知的[1]。通过命令行卸载eclipse功能

但是,我有一个问题,通过命令行卸载eclipse功能。

我使用以下命令。

/opt/eclipse/eclipse \ 
-repository \ 
http://download.eclipse.org/releases/neon,\ 
https://dl.google.com/eclipse/plugin/4.6,\ 
http://pydev.org/updates" 
-application org.eclipse.equinox.p2.director \ 
-uninstallIU \ 
org.eclipse.egit.feature.group,\ 
org.eclipse.mylyn_feature.feature.group,\ 
org.eclipse.help.feature.group 

输出结果如下。

Uninstalling org.eclipse.egit.feature.group 4.4.1.201607150455-r. 
Uninstalling org.eclipse.mylyn_feature.feature.group 3.21.0.v20160914-0252. 
Uninstalling org.eclipse.help.feature.group 2.2.1.v20161124-1400. 

但是,当我启动eclipse时,插件仍然存在。 有什么帮助吗?

[1] http://blog.vogella.com/2012/04/04/installing-eclipse-features-via-the-command-line-with-the-p2-director/

回答

0

确认的功能,卸载后运行p2的垃圾收集器。 您就可以用这样的命令在命令行手动运行GC: 蚀-application org.eclipse.equinox.p2.garbagecollector.application -profile SDKProfile Plug-in jar remains after feature uninstall

+0

彼得,谢谢你的回答。我也已经这样做了,但我没有成功。 –