我的 Eclipse-RCP 应用程序存储在 $HOME/.eclipse 中,我该如何阻止它?

发布于 2024-09-18 07:23:03 字数 297 浏览 3 评论 0原文

当我运行 Eclipse RCP 应用程序时,它会在我的 $HOME/.eclipse 目录中创建大量目录。这是什么?

我不想要这些文件,我怎样才能阻止它们到达那里?这样做的理由是:应用程序必须运行得非常干净,并且只将文件保留在一个特定位置(而不是 $HOME/.eclipse)。

我认为它是由 osgi.instance.area 控制的,因此尝试将其设置为不同的值(目录、@none、@noDfault 等...),但无法阻止应用程序在 $HOME/.eclipse 中创建目录。 -data 和其他参数按预期工作。

When I run my Eclipse RCP application, it creates a whole lot of directories in my $HOME/.eclipse directory. What is this?

I don't want the files there, how can I hinder them from getting there? The rational for this: the application must run very clean and only leave files at one specific location (not $HOME/.eclipse).

I'd figured it was controlled by osgi.instance.area so tried to set this to different values (a directory, @none, @noDfault etc...) but can't stop the application from creating directories in $HOME/.eclipse. -data and other arguments works as expected.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

浅笑依然 2024-09-25 07:23:03

在我的系统上,.eclipse 中存储的唯一内容是 Equinox 安全存储。这是文档页面上的简介:

默认情况下,安全存储位于您的主目录中。在 Windows 上,通常解析为“C:\Documents and Settings\.eclipse\org.eclipse.equinox.security”。选择此位置是为了允许多个基于 Eclipse 的应用程序共享相同的安全存储。

如果您想修改默认安全存储的位置,可以使用“-eclipse.keyring”运行时选项。这是用于持久保存安全存储数据的文件的路径。

这是 在线参考。

On my system the only thing that is stored in .eclipse is the Equinox Secure Storage. Here is the blurb on the doc page for that:

By default, secure storage is located in your home directory. On Windows that typically resolves to "C:\Documents and Settings\.eclipse\org.eclipse.equinox.security". This location is selected to allow multiple Eclipse-based applications to share the same secure storage.

If you would like to modify the location of the default secure storage, you can use the "-eclipse.keyring " runtime option. The is a path to the file which is used to persist the secure storage data.

Here is the online reference.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文