Eclipse在哪里存储更新站点列表?它可以复制到另一个安装? [英] Where does Eclipse store list of update sites? And can it be copied to another installation?

查看:361
本文介绍了Eclipse在哪里存储更新站点列表?它可以复制到另一个安装?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的Eclipse安装完全被打了,不能启动,所以我可能需要重新安装它(但是当升级到新的Eclipse版本时也是如此)。我不想要追捕我安装的所有插件。那么Eclipse在哪里可以存储可用的更新站点列表?如果不是纯文本,可以将它复制到另一个安装中吗?

解决方案

点击File->导出 - >安装(安装的软件项目到文件)



抱歉,我没有注意到您的eclipse安装不工作。我不认为直接从eclipse配置文件导入安装(如果您不能从eclipse导出)。 Eclipse将此配置存储在eclipse / configuration / .. / .. / ....中的articles.xml文件中。
例如我在这里检查的框:
eclipse / configuration / org.eclipse.osgi / bundles / 293 / data / -750392822 / artifacts.xml
将有这么多的article.xml文件。我建议在破碎的eclipse路径中找到一个articles.xml文件,然后尝试通过help->安装新的softeare - >(点击)导入新的eclipse可用软件站点 - >导入然后导入这些articles.xml文件。说实话,我没有尝试这个,但是想尝试一下..


My Eclipse installation got completely borked and won't start up, so I will likely have to reinstall it (but this is also relevant when upgrading to a new Eclipse version). I want not to have to hunt down all the plugins I had installed. So where does Eclipse store list of available update sites? And if it isn't in plain text, can it be copied into another installation without problems?

解决方案

Click on File->Export->Install (Installed Software Items to File)

sorry that I did not notice that your eclipse installation is not working. I don't think there is a direct solution to import the installs from eclipse config files (If you can't export from eclipse). Eclipse stores this configuration in the "articles.xml" files inside "eclipse/configuration/../../...."
e.g on my box I checked here: eclipse/configuration/org.eclipse.osgi/bundles/293/data/-750392822/artifacts.xml There will be many articles.xml files like this. I suggest to find one articles.xml files inside your broken eclipse path and then try importing that in new eclipse by help->install new softeare->(the click on) Available Software Sites->Import and then import these articles.xml files. To be honest, I did not try this, but would like to try this..

这篇关于Eclipse在哪里存储更新站点列表?它可以复制到另一个安装?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆