将Eclipse从一台机器复制到另一台机器
我正在尝试在一个安装包中添加一个Eclipse版本,该版本已经从更新站点预插入了插件。
I am trying to include a version of Eclipse in an installation package, that has been prepopulated with plugins from an update site.
我可以包含所有Eclipse的文件进入我的安装程序很容易,但是当我在目标机器上运行Eclipse时,更新站点列表将丢失。例如。当我在自己的机器上运行它并选择帮助/安装新的软件...工作列表包含最近使用的更新站点。当我在目标机器上运行它是空的。
I can include all of Eclipse's files into my installer quite easily but when I run Eclipse on the target machine, the list of update sites is lost. E.g. When I run it on my own machine and select Help/Install new software... the "Work with" list contains the recently used update sites. When I run it on the target machine it is empty.
我已经测试过将我的Eclipse文件夹从网络共享复制到目标机器上,并得到相同的结果。然而,当我直接从网络共享中运行Eclipse时,工作列表就会按预期的方式填充。
I have tested just copying my Eclipse folder from a network share onto the target machine and get the same results. However, when I run Eclipse directly from the network share the "Work with" list is populated as I would expect.
我缺少什么?
谢谢,
Alan
Thanks, Alan
你很可能错过了配置目录用户的主目录( $ {HOME} /。eclipse
for Linux)的一部分。
You most likely missed the configuration directory that is part of the users' home directory (${HOME}/.eclipse
for Linux).