在多用户环境中更新启用 p2 的 RCP 应用程序时出错
是否可以以在多用户环境中运行的方式实现我自己的启用 p2 的 RCP 应用程序的更新。我想要做的与 Eclipse 相同,我想将我的应用程序安装在用户只读的位置。当用户运行时,他会获得自己的可写位置,通常在他的主目录下。用户可以安装存储在此可写位置下的附加功能。这怎么可能呢。我测试了我的应用程序,默认情况下它不会以这种方式工作,我的应用程序尝试下载更新失败并继续重新启动。
先感谢您。
乌里安娜
Is that possible to implement the update of my own p2 enabled RCP application in a way that it will function in multiuser environment. What I want to do is identical to eclipse, I want to have my application installed in a location that is read-only to the user. When the user runs, he gets his own writable location, usually under his home directory. The user can install additional features that are stored under this writable location. How is that possible to do. I tested my application and it doesn't work this way by default, my application tries to download updates fails and keep restarting.
Thank you in advance.
Ulyana
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
部署 RCP 应用程序时,请按照 Eclipse 多用户安装 以创建一个配置区域,您可以将其设置为只读,然后以另一个用户身份运行。
理论上它应该是这样的:
When you deploy your RCP app, follow the steps in Eclipse multi-user installs to create a configuration area that you can make read-only and then run as another user.
In theory it should be something like: