Hi, Eclipse always seems to create workbench directories for the current user in the current dir (i.e. /opt/eclipse/workbench if you start eclipse by "cd /opt/eclipse; ./eclipse"). So once you started eclipse as user1, you can not start it as user2 afterwards without first deleting the workbench for user1. To make things a bit more comfortable/transparent I wrote this tiny wrapper script which one can put under /usr/local/bin to have a per-user-workbench under "/home/<user>/.eclipse/workbench" instead of /opt/eclipse/workbench. Maybe I am just tooo dumb and there is a much better/more elegant way handling this. But I just needed a quick-and-dirty "works for me" solution and so I tought that providing this here might be usefull... ;-) Regards, Daniel Reproducible: Always Steps to Reproduce: 1. as root or user1 cd /opt/eclipse (first time use) 2. ./eclipse --> workbench created 3. now as ordinary user2: cd /opt/eclipse 4. ./eclipse --> error message. (naturally you can't use the existing workdir created for root, because of permissions --> Workbenches are not created individually for every user but always as /opt/eclipse/workbench. So they should IMHO reside in every users home... emerge -s eclipse: * dev-util/eclipse-SDK Latest version available: 2.1 Latest version installed: [ Not Installed ] Size of downloaded files: 62,742 kB Homepage: http://www.eclipse.org/ Description: Eclipse Tools Platform * dev-util/eclipse-cdt-bin Latest version available: 20030501 Latest version installed: [ Not Installed ] Size of downloaded files: 2,155 kB Homepage: http://www.eclipse.org Description: Eclipse Tools Platform * dev-util/eclipse-ftp-webdav-bin Latest version available: 2.0 Latest version installed: [ Not Installed ] Size of downloaded files: 615 kB Homepage: http://www.eclipse.org Description: Eclipse FTP and WebDAV Tool * dev-util/eclipse-jdt-bin Latest version available: 2.1 Latest version installed: 2.1 Size of downloaded files: 11,200 kB Homepage: http://www.eclipse.org Description: Eclipse Tools Platform * dev-util/eclipse-platform-bin Latest version available: 2.1 Latest version installed: 2.1 Size of downloaded files: 17,678 kB Homepage: http://www.eclipse.org Description: Eclipse Tools Platform
Created attachment 11749 [details] /usr/local/bin/eclipse
This was committed along with the eclise-sdk-2.1.1.ebuild update, see #19317.
nice, thanks! bug comments and feature list for #19317 sound very promising too... :-))