Home » Eclipse Projects » Eclipse Platform » shared install: private plug-ins not showing up
shared install: private plug-ins not showing up [message #893880] |
Thu, 05 July 2012 19:19 |
Carsten Reckord Messages: 27 Registered: June 2012 |
Junior Member |
|
|
Hi there,
I'm trying to set up a shared install where the shared instance is a fully
initialized eclipse and the local instance is supposed to have additional
plug-ins installed on top.
In this case, the shared instance is my normal development eclipse, which I
have full write-access to. To do this, I am starting with:
<shared>/eclipse.exe -vmargs \
-Dosgi.configuration.cascaded=true \
-Dosgi.configuration.area=<local>/configuration \
-Dosgi.sharedConfiguration.area=<shared>/configuration \
-Dosgi.sharedConfiguration.area.readOnly=true \
-Dosgi.install.area.readOnly=true
This seems to be working fine. The workspace comes up and all plug-ins from
the shared install are working properly. When I install stuff, it gets
installed into <local>/plugins and features. <local>/p2 and
<local>/configuration/org.eclipse.equinox.simpleconfigurator/bundles.info
get updated successfully, too.
However, after installing plug-ins into the local instance and restarting,
the new features are not available. I see them listed in Installation
Details -> Installed Software, but not in the Plug-Ins or Features lists or
the Plug-In Registry view (the Plug-Ins view does show them, though).
Any ideas?
Best regards,
Carsten
|
|
|
Re: shared install: private plug-ins not showing up [message #895899 is a reply to message #893880] |
Mon, 16 July 2012 13:10 |
Carsten Reckord Messages: 27 Registered: June 2012 |
Junior Member |
|
|
Anybody? Or might the P2 group be a better place for this question?
On 05.07.2012 21:19, Carsten Reckord wrote:
> Hi there,
>
> I'm trying to set up a shared install where the shared instance is a fully
> initialized eclipse and the local instance is supposed to have additional
> plug-ins installed on top.
>
> In this case, the shared instance is my normal development eclipse, which I
> have full write-access to. To do this, I am starting with:
>
> <shared>/eclipse.exe -vmargs \
> -Dosgi.configuration.cascaded=true \
> -Dosgi.configuration.area=<local>/configuration \
> -Dosgi.sharedConfiguration.area=<shared>/configuration \
> -Dosgi.sharedConfiguration.area.readOnly=true \
> -Dosgi.install.area.readOnly=true
>
> This seems to be working fine. The workspace comes up and all plug-ins from
> the shared install are working properly. When I install stuff, it gets
> installed into <local>/plugins and features. <local>/p2 and
> <local>/configuration/org.eclipse.equinox.simpleconfigurator/bundles.info
> get updated successfully, too.
>
> However, after installing plug-ins into the local instance and restarting,
> the new features are not available. I see them listed in Installation
> Details -> Installed Software, but not in the Plug-Ins or Features lists or
> the Plug-In Registry view (the Plug-Ins view does show them, though).
>
>
> Any ideas?
>
>
> Best regards,
> Carsten
>
|
|
| |
Re: shared install: private plug-ins not showing up [message #895992 is a reply to message #895907] |
Mon, 16 July 2012 19:06 |
Carsten Reckord Messages: 27 Registered: June 2012 |
Junior Member |
|
|
On 16.07.2012 15:19, Paul Webster wrote:
> Yes, I think your question is good for the p2 forum.
Thanks. I'll take it there. I wasn't quite sure where p2 ends and platform
begins, so I started here.
> Do you have to set your shared installed to "cascade" or is that something that should be done when running as your second user.
Oh, my bad, I did phrase that part rather badly. The command line from my
previous post was what I execute as my "second user" to force Eclipse to use
the shared location as read-only, which it isn't file system-wise (because
actually it's both the same user, just with a "basic" and "extended" setup)
> Also, I thought it was possible to install eclipse and add some plugins (writable) and then switch to another user that can see the install as read-only and just fire up the eclipse. By default it creates a $HOME/.eclipse/<some_directory>/ and puts configuration, p2, plugins and features in there. But I'm not 100% sure I'm not remembering it incorrectly.
>
> This is the only page I know of that has details on multi-user installs: http://help.eclipse.org/juno/index.jsp?topic=%2Forg.eclipse.platform.doc.isv%2Freference%2Fmisc%2Fmulti_user_installs.html&cp=2_1_3_7
>
That was actually my starting point :) Based on scenario 3, I tried
achieving the same without having to make the shared location read-only.
Thanks,
Carsten
|
|
|
Goto Forum:
Current Time: Fri Apr 26 01:06:07 GMT 2024
Powered by FUDForum. Page generated in 0.03299 seconds
|