Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 44462

Summary: Closing projects makes launch configurations unusable
Product: [Eclipse Project] PDE Reporter: Eric Estievenart <eric.estievenart>
Component: UIAssignee: PDE-UI-Inbox <pde-ui-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: major    
Priority: P3    
Version: 2.1.1   
Target Milestone: 3.0 M9   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Eric Estievenart CLA 2003-10-08 11:44:43 EDT
Suppose you have one plugin project in your workspace.
Create a new (local) launch configuration for it with
'choose plugins and fragments from the list' selected
in the list, select your plugin.

[Generally you would also have disabled a lot of external
plugins which are not suitable for your test purpose.]

Now suppose this plugin was not really very important for you,
or someone in your team broke it, or its development has
been cancelled, or you just want to test that you can run
without it, or that you have too many opened projects
in eclipse and it is eating too much memory and becoming slow.
(I have personally experimented all the cases, sorry if I miss some)
==> So you decide to close your project.

If you try to run you launch configuration, you will get
an error message saying that your project does not exist,
which is normal.

Then change its selection to 'Launch with all workspace and
enabled external plugins' and try 'Run'
==> Same error message, which is a bug for me

Select back 'Choose plugins and fragments from the list'
Click [Restore defaults]
Click [Run]
==> Same error message, huh ?

The only ways to restore the config is to make it
shared and to edit the launch configuration file by
hand, or to create a new launch configuration,
which is really painful.

Seems to be the same on 3.0 M3 (but error messages
are a bit different).

Hope this helps

--Steve
Comment 1 Wassim Melhem CLA 2004-05-19 00:18:35 EDT
This was a problem in the Debug source lookup.  Fixed in M9.