简体   繁体   中英

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

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.

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

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

在此处输入图片说明

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

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM