如何完全删除Subclipse插件? [英] How to fully delete Subclipse plugin?
问题描述
由于m2eclipse项目删除对Subclipse的支持,我决定切换到Subversive。 / p>
所以我卸载了Subclipse,然后使用关于Eclipse - >安装详细信息 - >卸载方法安装Subversive。现在,当我去任何团队相关的选项/任务/首选项时,有两个可用的SVN选项(一个用于Subversive,另一个用于Subclipse)使生活变得困惑。
已经grepped字符串 subclipse
的工作空间 .metadata
文件夹我可以看到配置仍然散落着对Subclipse的引用: / p>
$ grep -lirsubclipse.metadata /
.metadata / .plugins / org.eclipse.ui.workbench /workbench.xml
.metadata / .plugins / org.eclipse.core.runtime / .settings / org.eclipse.ui.workbench.prefs
.metadata / .plugins / org.eclipse.core。运行时/ .settings / org.eclipse.team.ui.prefs
.metadata / .plugins / org.eclipse.core.runtime / .settings / org.eclipse.debug.ui.prefs
.metadata /.plugins/org.eclipse.epp.usagedata.recording/upload17.csv
.metadata / .plugins / org.eclipse.epp.usagedata.recording/ upload23.csv
.metadata / .plugins / org.eclipse.epp.usagedata.recording / upload21.csv
.metadata / .plugins / org.eclipse。 epp.usagedata.recording / upload19.csv
.metadata / .plugins / org.eclipse.epp.usagedata.recording / usagedata.csv
.metadata / .plugins / org.eclipse.epp.usagedata。录制/ upload22.csv
.metadata / .plugins / org.eclipse.epp.usagedata.recording/ upload14.csv
.metadata / .plugins / org.eclipse.epp.usagedata.recording / upload13。 csv
.metadata / .plugins / org.eclipse.epp.usagedata.recording/ upload20.csv
.metadata / .plugins / org.eclipse.epp.usagedata.recording / upload18.csv
.metadata / .plugins / org.eclipse.epp.usagedata.recording/ upload16.csv
.metadata / .plugins / org.eclipse.epp.usagedata.recording / upload15.csv
.metadata / .plugins / org.eclipse.team.ui / dialog_settings.xml
.metadata / .plugins / org.eclipse.team.ui / syncParticipants.xml
.metadata / .plugins / org.eclipse.pde .core / -213569165961.target / .lazy
.metadata / .plugins / org.eclipse.pde.core / -213569165961.target / .state
.metadata / .plugins / org.eclipse.pde .core / -213569165961.target / .pluginInfo
.metadata / .plugins /或g.eclipse.core.resources / .projects / jxse-tutorials / .syncinfo.snap
.metadata / .plugins / org.eclipse.core.resources / .projects / jxse-tutorials / .indexes / properties.index
.metadata / .plugins / org.eclipse.core.resources / .projects / BA_NAT_Traversal / .syncinfo
.metadata / .plugins / org.eclipse.core.resources / .projects / barchart-udt / .syncinfo
.metadata / .plugins / org.eclipse.core.resources / .projects / barchart-udt / .indexes / properties.index
.metadata / .plugins / org.eclipse.core.resources /.projects/netty-benchmark/.syncinfo
.metadata / .plugins / org.eclipse.core.resources / .projects / netty-benchmark / .indexes / properties.index
.metadata / .plugins /org.eclipse.core.resources/.projects/jxta/.syncinfo.snap
.metadata / .plugins / org.eclipse.core.resources / .root / 73.tree
.metadata /。 plugins / org.eclipse.core.resources / .snap
.metadata / .bak_0.log
以上所有项目现在都与SVN断开连接。显然,一些诸如usagedata的参考并不重要,但我更担心XML文件。手动通过并删除与Subclipse相关的所有标签/属性是否安全?我觉得这种方法可能是不明智的。
有没有人知道如何消除Subclipse的所有痕迹,而不会丢失我的工作空间?还有什么提示我可能做错了什么?我应该在切换到Subversive之前手动断开所有SVN项目?
我有完全相同的问题。原因是当您通过eclipse卸载时,它不会从插件文件夹中删除jar文件,我执行的步骤。
转到文件夹eclipse / plugins for
避免任何潜在的损害(只是删除错误的jar,并在其他应用程序中获取错误)列出从子程序的jar。
$ cd eclipse / plugins
$ ls | grep org.tigris.subversion
,然后如果列出以下
<$ c $ $ cs $ .0.1.jar
org.tw b org.tigris.subversion.subclipse.core_1.6.17.jar org.tigris.subversion.subclipse.mylyn_3.0.0.jar
通过管道xargs rm将其删除到命令
$ ls | grep org.tigris.subversion | xargs rm
重新启动eclipse,您只会看到正确的svn版本。
PS:您显示的.metadata来自工作区,它只影响到项目y从svn得到,它不会做任何改变eclipse。
I am having trouble getting rid of Subclipse from my Eclipse configuration.
I made the decision to switch to Subversive due to the m2eclipse project dropping support for Subclipse.
So I uninstalled Subclipse and then installed Subversive using the About Eclipse -> Installation Details -> Uninstall method. Now, when I go to any Team related options/tasks/preferences there are two SVN options available (one for Subversive and one for Subclipse) making life confusing.
Having grepped the workspace .metadata
folder for the string subclipse
I can see that the configuration is still littered with references to Subclipse:
$ grep -lir "subclipse" .metadata/
.metadata/.plugins/org.eclipse.ui.workbench/workbench.xml
.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.ui.workbench.prefs
.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.team.ui.prefs
.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.debug.ui.prefs
.metadata/.plugins/org.eclipse.epp.usagedata.recording/upload17.csv
.metadata/.plugins/org.eclipse.epp.usagedata.recording/upload23.csv
.metadata/.plugins/org.eclipse.epp.usagedata.recording/upload21.csv
.metadata/.plugins/org.eclipse.epp.usagedata.recording/upload19.csv
.metadata/.plugins/org.eclipse.epp.usagedata.recording/usagedata.csv
.metadata/.plugins/org.eclipse.epp.usagedata.recording/upload22.csv
.metadata/.plugins/org.eclipse.epp.usagedata.recording/upload14.csv
.metadata/.plugins/org.eclipse.epp.usagedata.recording/upload13.csv
.metadata/.plugins/org.eclipse.epp.usagedata.recording/upload20.csv
.metadata/.plugins/org.eclipse.epp.usagedata.recording/upload18.csv
.metadata/.plugins/org.eclipse.epp.usagedata.recording/upload16.csv
.metadata/.plugins/org.eclipse.epp.usagedata.recording/upload15.csv
.metadata/.plugins/org.eclipse.team.ui/dialog_settings.xml
.metadata/.plugins/org.eclipse.team.ui/syncParticipants.xml
.metadata/.plugins/org.eclipse.pde.core/-213569165961.target/.lazy
.metadata/.plugins/org.eclipse.pde.core/-213569165961.target/.state
.metadata/.plugins/org.eclipse.pde.core/-213569165961.target/.pluginInfo
.metadata/.plugins/org.eclipse.core.resources/.projects/jxse-tutorials/.syncinfo.snap
.metadata/.plugins/org.eclipse.core.resources/.projects/jxse-tutorials/.indexes/properties.index
.metadata/.plugins/org.eclipse.core.resources/.projects/BA_NAT_Traversal/.syncinfo
.metadata/.plugins/org.eclipse.core.resources/.projects/barchart-udt/.syncinfo
.metadata/.plugins/org.eclipse.core.resources/.projects/barchart-udt/.indexes/properties.index
.metadata/.plugins/org.eclipse.core.resources/.projects/netty-benchmark/.syncinfo
.metadata/.plugins/org.eclipse.core.resources/.projects/netty-benchmark/.indexes/properties.index
.metadata/.plugins/org.eclipse.core.resources/.projects/jxta/.syncinfo.snap
.metadata/.plugins/org.eclipse.core.resources/.root/73.tree
.metadata/.plugins/org.eclipse.core.resources/.snap
.metadata/.bak_0.log
All of the projects above are now disconnected from SVN. Obviously some of the references such as usagedata are not important, I am more worried about the XML files though. Is it safe to manually go through and delete all tags/properties related to Subclipse? I feel that approach may be unwise though.
Does anyone know of a way to eliminate all traces of Subclipse without losing my workspace? Also any tips on what I might have done wrong? Should I have manually disconnected all of my SVN projects before making the switch to Subversive?
I had exactly the same problem. The reason is when you uninstall via eclipse, it doesn't delete the jar files from the plugin folder, the steps I did.
Go to folder eclipse/plugins for avoiding any potential damage (just deleting wrong jars and get errors in other apps) list the jars from subclipse.
$ cd eclipse/plugins
$ ls |grep org.tigris.subversion
and then if it lists the following
$ ls |grep org.tigris.subversion
org.tigris.subversion.clientadapter_1.6.12.jar org.tigris.subversion.subclipse.doc_1.3.0.jar org.tigris.subversion.subclipse.tools.usage_1.0.1.jar
org.tigris.subversion.clientadapter.javahl_1.6.15.jar org.tigris.subversion.subclipse.graph_1.0.9.jar org.tigris.subversion.subclipse.ui_1.6.17.jar
org.tigris.subversion.subclipse.core_1.6.17.jar org.tigris.subversion.subclipse.mylyn_3.0.0.jar
Remove them by piping xargs rm to the command
$ ls |grep org.tigris.subversion|xargs rm
Restart your eclipse and you'll only see the correct svn version.
PS: the .metadata you display comes from the workspace, it only affects to the projects you got from svn, it won't do any change in eclipse.
这篇关于如何完全删除Subclipse插件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!