Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to remove launch configuration histories in eclipse?

Right click an arbitrary existing project in Package Explore, choose "export..." - "Java" - "Runnable JAR file", I find all the old projects in the "launch configuration" list. Those projects have already been removed from the disk, and are not visible in the Package Explore. How can I remove them from that list? I'm using eclipse indigo.

like image 593
miaowhehe Avatar asked Mar 10 '13 13:03

miaowhehe


People also ask

Where are Eclipse launch configurations stored?

Eclipse has the concept to store settings in the 'framework'. The 'framework' is the Eclipse internal data, basically what is inside the . metadata folder of the workspace. If I create a debug configuration for a project, then by default Eclipse stores it in the 'framework' (workspace data).

How do I fix configuration error in Eclipse?

Just deleting the run configuration and re-creating it by running the class by right click, "Run As Java program" will fix the error.


2 Answers

This question seems to be well answered here, however, to make changes I have simply deleted every undesirable launch configuration from the below path.

${WORKSPACE}/.metadata/.plugins/org.eclipse.debug.core/.launches/Delete all the .class LAUNCH Files 

After deleting the files, it is necessary to restart Eclipse for the changes to take effect.

like image 200
Felipe Martins Melo Avatar answered Oct 25 '22 09:10

Felipe Martins Melo


Under Window...Preferences...Run/Debug...Launching...Launch Configurations, you can activate and deactivate some filters that restrict what is shown in Run...Run Configurations. I think it is what you are looking for.

like image 35
benzonico Avatar answered Oct 25 '22 09:10

benzonico