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

Bug 22755

Summary: Launch configurations only for open projects
Product: [Eclipse Project] JDT Reporter: Kerschbaumer Samuel <samuel.kerschbaumer>
Component: DebugAssignee: Darin Wright <darin.eclipse>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: P3 CC: n.a.edgar
Version: 2.0   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Kerschbaumer Samuel CLA 2002-08-23 04:41:05 EDT
The launch configurations dialog and the launch-history show always all launch
configurations, also the launch configurations for projects that are not opened.
I think only the launch configurations of opened projects should be shown (it
isn't even possible to launch classes inside closed projects, but that isn't a
problem), or the launch configuration should made specific for each project.
Comment 1 Darin Wright CLA 2002-08-23 08:26:15 EDT
In general, there is no strict relationship between a project and a launch 
configuration. It just so happens that the Java launch configurations allow a 
project to be specified, which is used for default classpath/source lookup 
computation. 

Since there is no "project" attribute for a launch config, at the debug 
platform level (API), this cannot be implemented generically.

Leaving open for investigation.
Comment 2 Kerschbaumer Samuel CLA 2002-08-23 08:31:21 EDT
> In general, there is no strict relationship between a project and a launch 
> configuration. 

Why not?
 * In the Launch configuration editor you must specify a project.
 * Withno project open you can't launch somthing...

The problem is that if I have many project I won't every view *ALL* launch
configuration for all possible projects.
Comment 3 Darin Wright CLA 2002-08-23 08:40:14 EDT

*** This bug has been marked as a duplicate of 19521 ***
Comment 4 Darin Wright CLA 2002-08-23 08:44:58 EDT
Only the "Java" launch configs allow a project to be specified, and it is not a 
required field. They are not generic to all launch config types, and a Java 
launch config need not specify a config, as it is possible to launch an 
application that is completely external to Eclipse (i.e. not contained in a 
project in the workspace), via a launch config. 
Comment 5 Darin Wright CLA 2002-08-23 08:45:59 EDT
Note, you can use "working sets" (in 2.1) to view different sets of launch 
configs. This is a new feature - see bug# 22195.
Comment 6 Tod Creasey CLA 2002-09-04 12:27:44 EDT
*** Bug 4682 has been marked as a duplicate of this bug. ***