Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 22755 - Launch configurations only for open projects
Summary: Launch configurations only for open projects
Status: RESOLVED DUPLICATE of bug 19521
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Debug (show other bugs)
Version: 2.0   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Darin Wright CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-08-23 04:41 EDT by Kerschbaumer Samuel CLA
Modified: 2002-09-04 12:27 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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. ***