Eclipse on Mac doesn't persist recent workspaces [message #1760120] |
Sun, 23 April 2017 06:06  |
Eclipse User |
|
|
|
Both Eclipse 4.6.2 and 4.6.3 don't persist recent workspaces on macOS Sierra.
At the first time of launching Eclipse,
Eclipse suggests me to use "/Users/USERNAME/Documents/workspace" as a workspace.
Then I changed it to other workspace (here, assuming that "/Users/USERNAME/workspaces/app1"), Eclipse will of course launch with no problem.
After closing Eclipse and rebooting OS (AFAIK, rebooting is not a requirement for this problem, but rebooting always cause the problem!), when I again launch Eclipse, then recent workspaces are empty and I'm again suggested to use "/Users/USERNAME/Documents/workspace".
AFAIK, this problem is not caused on MacOSX El Capitan.
And from my investigation, many "org.eclipse.platform_4.6.3_NNNNNNN_macosx_cocoa_x86_64" are created under ~/.eclipse for some reasons.
$ ls -l ~/.eclipse ~
total 0
drwxr-xr-x 3 username staff 102 Apr 23 18:28 org.eclipse.epp.logging.aeri
drwxr-xr-x 4 username staff 136 Apr 23 18:34 org.eclipse.oomph.p2
drwxr-xr-x 3 username staff 102 Apr 23 18:35 org.eclipse.oomph.setup
drwxr-xr-x 5 username staff 170 Apr 23 18:41 org.eclipse.platform_4.6.3_1325096807_macosx_cocoa_x86_64
drwxr-xr-x 6 username staff 204 Apr 23 18:35 org.eclipse.platform_4.6.3_539655064_macosx_cocoa_x86_64
drwxr-xr-x 5 username staff 170 Apr 23 18:28 org.eclipse.platform_4.6.3_881243932_macosx_cocoa_x86_64
Anybody help me to fix this problem?
|
|
|
|
Re: Eclipse on Mac doesn't persist recent workspaces [message #1760124 is a reply to message #1760123] |
Sun, 23 April 2017 08:34  |
Eclipse User |
|
|
|
Thank you,
I've resolved this problem by:
> - move your Eclipse.app via the finder to a different location
I had previously installed Eclipse.app by extracting tarball with tar command.
So I've just do as follows:
- Extract by double-clilcking in Finder
- Moved Eclipse.app to my favorite location (/opt/eclipse/jee-neon)
- Launch Eclipse.app from Finder
This completely fixed my problem, thanks!
|
|
|
Powered by
FUDForum. Page generated in 0.05053 seconds