ankit
ankit

Reputation: 5127

how to retain run configurations in eclipse?

Every-time I restart my eclipse and I loose all my run configuration, can somebody help me retain them. Please let me know which file needs to be changed to retain them ?

I am using eclipse Juno

Upvotes: 2

Views: 91

Answers (3)

SpaceTrucker
SpaceTrucker

Reputation: 13556

You can export them to files. Just use Export -> Run/Debug -> Launch Configurations. You should export them to some directory in your workspace. Eclipse will list those launch configurations automatically under the Run As or Debug As dropdown lists.

Upvotes: 1

ankit
ankit

Reputation: 5127

Though this problem is strange but I got a work around to resolve it the configuration files reside in

[eclipse-workspace].metadata.plugins\org.eclipse.debug.core.launches

so to retain them just copy them somewhere and after that just paste at this location and in this way we can share them between workspaces as well

Helpful link for this

Upvotes: 0

Christian Tapia
Christian Tapia

Reputation: 34176

Window -> Preferences -> General -> Workspace [-> Startup and Shutdown]

This is how my Eclipse Kepler config looks like, maybe it helps.

enter image description here

Try also playing around General -> Workspace and General -> Startup and Shutdown (including sub categories)

Upvotes: 0

Related Questions