Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 350305 - Eclipse is not prompting for a workspace directory
Summary: Eclipse is not prompting for a workspace directory
Status: RESOLVED NOT_ECLIPSE
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Runtime (show other bugs)
Version: 3.7   Edit
Hardware: PC Windows 7
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: platform-runtime-inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-24 13:18 EDT by Eric Berry CLA
Modified: 2011-09-15 10:25 EDT (History)
1 user (show)

See Also:


Attachments
My eclipse.ini configuration (396 bytes, text/plain)
2011-06-24 16:20 EDT, Eric Berry CLA
no flags Details
My config.ini (1.16 KB, text/plain)
2011-06-24 16:20 EDT, Eric Berry CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Eric Berry CLA 2011-06-24 13:18:45 EDT
Build Identifier: 20110615-0604

Eclipse is not prompting for a workspace directory regardless of the preferences setting at General>Startup and Shutdown>Workspaces>Prompt for workspace on startup

Reproducible: Always

Steps to Reproduce:
1. Start Eclipse
2. No workspace directory prompt appears.
3.
Comment 1 John Arthorne CLA 2011-06-24 16:17:04 EDT
Are you passing any command line arguments to eclipse when you start it?
Comment 2 Eric Berry CLA 2011-06-24 16:20:11 EDT
Created attachment 198574 [details]
My eclipse.ini configuration
Comment 3 Eric Berry CLA 2011-06-24 16:20:34 EDT
Created attachment 198575 [details]
My config.ini
Comment 4 Eric Berry CLA 2011-06-24 16:21:37 EDT
No, it's pretty much the standard J2EE download.  But I have installed several plugins.  I'll try unziping the fresh download again and seeing what happens.
Comment 5 John Arthorne CLA 2011-06-24 16:33:44 EDT
There is a known bug pattern where a plugin asks for the workspace location before the prompt can occur. This causes it to force a default location and the user is never prompted. If this is the problem, it's certainly possibly caused by any plugin. So, trying a fresh install is a good first step. Thanks for following up.
Comment 6 Eric Berry CLA 2011-06-24 16:36:07 EDT
When I unzipped my J2EE download and ran it clean without any plugins, it is
prompting me for a workspace.  I restarted several times and it continues to
prompt me.

The one that I built yesterday with all of my plugins will never prompt me not
matter what I try.  

So I guess the work around is to start over and reinstall all of my plugins
again.

Thanks for your help.
Comment 7 DJ Houghton CLA 2011-06-28 16:18:42 EDT
As John mentioned this is most likely a problem with one of the extra plug-ins that you have installed accessing the workspace data area before it has been set (and before the prompt has come up).
Closing.
Comment 8 Steve Cohen CLA 2011-09-15 10:18:13 EDT
I've just experienced this for the first time on HELIOS.  It was never a problem until I installed the Spring plugin.

I plan to migrate to INDIGO soon.  I have it installed and it's NOT happening there even though Spring is installed.
Comment 9 Steve Cohen CLA 2011-09-15 10:25:48 EDT
(In reply to comment #8)
> I've just experienced this for the first time on HELIOS.  It was never a
> problem until I installed the Spring plugin.
> 
> I plan to migrate to INDIGO soon.  I have it installed and it's NOT happening
> there even though Spring is installed.

And now by reverting to the previous config, the problem has gone away.