Debian 服务器上 Eclipse 的共享配置
我已在 debian 服务器上手动安装了最新的 Eclipse,并希望对其进行配置,以便所有用户共享相同的配置。结果没有我想象的那么明显:我似乎无法为所有用户安装软件包。如果我自己运行它,所有配置数据都保存在我自己的主目录下。如果我使用 sudo 运行 Eclipse,所有内容都会保存在根目录下,但其他用户在运行 Eclipse 时无法访问。
我一直在浏览 Eclipse 手册和一些论坛,但除了“是的,你可以”之外,我找不到任何关于如何应该完成的信息。最大的问题是安装插件让所有用户都能找到。非常感谢任何帮助。
Eclipse :3.6.1 经典版,使用 安装这个过程。
服务器名称:GNU/Linux *** 2.6.26-2-amd64
使用 Putty 访问服务器,通过 realVNC 访问 Gnome 桌面。如果这很重要的话,只需提及即可。我们的系统管理员正在“长期休假”(在西班牙工作,从未被替换),所以我在这里陷入了困境,没有帮助。
编辑:
我找到了可以在 launcher.ini 或 config.ini 中设置的有关配置的变量列表:osgi.configuration.area
、osgi.configuration.area.default< /code>,
osgi.sharedConfiguration.area
,osgi.configuration.cascaded
,...但我不知道如何正确设置这些。
-- 我也在 Serverfault 上问了这个问题,但我还很远来自某些它所属的地方。请随意将两个问题合并到适当的位置。 --
I've manually installed the latest Eclipse on our debian server and wanted to configure it so all users share the same configuration. It turned out less obvious than I thought: I don't seem to be able to install packages for all users. If I run it myself, all configuration data is saved under my own home directory. If I run Eclipse using sudo, everything is saved under the root directory but is not accessible for other users when they run Eclipse.
I've been browsing the manual of Eclipse and some forums, but apart from a "yes, you can" I couldn't find any information on how that should be done. The biggest problem is installing plugins for all users to be found. Any help is greatly appreciated.
Eclipse : 3.6.1 classic, installed using this procedure.
Server uname: GNU/Linux *** 2.6.26-2-amd64
Server is accessed using Putty, and Gnome desktop through realVNC. Just mentioning it if that is of any importance. Our sysadmin is on "prolonged leave" (working in Spain and never replaced), so I'm stuck without help here.
EDIT:
I've found a list of variables that could be set in the launcher.ini or config.ini regarding configuration : osgi.configuration.area
, osgi.configuration.area.default
, osgi.sharedConfiguration.area
, osgi.configuration.cascaded
, ... But I can't figure out exaclty how to set these correctly.
-- I asked this question also on Serverfault, but I am far from certain where this belongs. Feel free to merge both questions in the appropriate place. --
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
对于插件,您可以添加
eclipse. ini
(对于您安装的所有 Eclispe)“共享 dropins 目录”。启动 Eclipse 时将检测到复制到该目录中的所有插件。
For plugins, you could add in
eclipse.ini
(for all Eclispe you install) a common path for "shared dropins directory".All plugins copied in that directory will be detected when Eclipse is launched.