34

I'm running Liclipse 2.5.3 on Mac OS. I renamed my project causing me to lose all my run configurations. When I tried recreating one, it says the file exists. However, there are no run configurations present.

Where are the run configs stored?

Necreaux
  • 9,451
  • 7
  • 26
  • 43
Joe Chiarelli
  • 343
  • 1
  • 3
  • 6

3 Answers3

53

The normal location for launches is in the workspace in the

.metadata/.plugins/org.eclipse.debug.core/.launches

folder.

Each launch configuration is in a separate xxx.launch file which is a xml file.

You can also Export and Import launch configurations.

greg-449
  • 109,219
  • 232
  • 102
  • 145
  • When i renamed my projects, i lost view of these in the GUI, I just deleted them so I could rename them to the prior run configurations. Probably because each of the launch configs had a pointer to the workspace. like this – Joe Chiarelli Apr 19 '16 at 13:26
  • 3
    This is still valid for `Eclipse v2019.3`. Thanks! – SovietFrontier Apr 15 '19 at 17:54
7

These configrations are located in .metadata/.plugins/org.eclipse.debug.core/.launches, and they are *.launch files.

Note that each workspace has its own .metadata folder.

ZhaoGang
  • 4,491
  • 1
  • 27
  • 39
2

@greg-449's answer tells you where they are stored, but you might be running into a situation where the launch configs for the renamed project are just being filtered/hidden. In the Launch Configurations dialog, there is a toolbar button to control filtering. Check there if deleted/unavailable projects are being filtered; if so try disabling that option and see if your missing configs come back into view.

enter image description here

E-Riz
  • 31,431
  • 9
  • 97
  • 134