【问题标题】:uninstall eclipse features by command line通过命令行卸载eclipse功能
【发布时间】:2017-07-03 00:29:03
【问题描述】:

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

但是,我在通过命令行卸载 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/

【问题讨论】:

    标签: eclipse equinox p2


    【解决方案1】:

    确保在卸载功能后运行 p2 垃圾收集器。 您可以使用以下命令从命令行手动运行 GC: 日食-应用程序 org.eclipse.equinox.p2.garbagecollector.application -profile SDK配置文件 Plug-in jar remains after feature uninstall

    【讨论】:

    • 彼得,谢谢你的回答。我也已经这样做了,但我没有成功。
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2013-03-30
    • 1970-01-01
    • 2018-03-02
    • 2023-03-26
    • 2020-04-28
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多