Where are the external tools launch configurations in Eclipse [duplicate]

﹥>﹥吖頭↗ 提交于 2019-11-27 01:40:23

问题


I usually install and uninstall different versions of Eclipse for fun. I don't want to install many plugins. I prefer to start with fresh install to test the IDE.

The problems comes when I have to config all the external tools that I always use (E.g. run jconsole).

Also I want to backup my launch configurations.

Do you know where Eclipse save this launch configurations?


回答1:


As I said in this question "Which eclipse files belong under Version Control", the .launch xml files (launcher definition) are found in

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

You can actually move them into your project directory:
when your project is refreshed, those configurations will be displayed in the "Run configuration" dialog. That way, those launch parameter files can be also managed into a VCS within your other project files, instead being buried within the workspace metadata area.

Warning: do uncheck the option "Delete configurations when associated resource is deleted" in the Run/Launching/Launch Configuration preference panel: it is common to soft-delete a project in order to import it back again, to force a reinitialization of the eclipse metadata,... but this option, if checked, will removed your detailed launch parameters!)



来源:https://stackoverflow.com/questions/452571/where-are-the-external-tools-launch-configurations-in-eclipse

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!