Eclipse Indigo Bug Workaround - ( Export > Launch Configuration ) Invalid Configs

posted in Code Snippets
Published July 13, 2014
Advertisement
There is a bug in Eclipse Indigo that has been driving me up a wall the last few days.
Whenever you delete a Java project, it's launch configuration ( File > Export > (type) > Launch Configuration ) remains on the list ( and is invalid ).
The invalid configuration does not show up on Run > Run Configurations ( after the project is deleted ), and there is no way to delete them from inside of Eclipse.

The problem with this bug is that every time you go to export a project, you have to pick a launch configuration from a list containing both valid and invalid options.
The more dead projects there are, the harder it is to find the correct launch configuration. In my case, I had 66 Launch Configurations, with only 6 of them being valid.

To fix the problem, you can delete the invalid configs by hand. They are located in the following file
(Wherever Eclipse Saves It's Files At) \.metadata\.plugins\org.eclipse.debug.core\.launches
2 likes 1 comments

Comments

TheChubu

Interesting! Have you tried with a more recent version of Eclipse? Indigo is quite old.

I make new Eclipse installs so often that I barely have any "run configuration" beyond the projects I'm working right now so I haven't come across this issue.

August 03, 2014 01:30 AM
You must log in to join the conversation.
Don't have a GameDev.net account? Sign up!
Advertisement