Eclipse 中的外部工具启动配置在哪里 [英] Where are the external tools launch configurations in Eclipse
问题描述
为了好玩,我通常会安装和卸载不同版本的 Eclipse.我不想安装很多插件.我更喜欢从全新安装开始测试 IDE.
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.
当我必须配置我经常使用的所有外部工具(例如运行 jconsole)时,问题就出现了.
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.
您知道 Eclipse 在哪里保存此启动配置吗?
Do you know where Eclipse save this launch configurations?
推荐答案
正如我在这个问题中所说的哪些 eclipse 文件属于版本控制",.launch xml 文件(启动器定义)位于
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.pluginsorg.eclipse.debug.core.launches
您实际上可以将它们移动到您的项目目录中:
当您的项目刷新时,这些配置将显示在运行配置"对话框中.这样,这些启动参数文件也可以管理到其他项目文件中的 VCS,而不是隐藏在工作区元数据区域中.
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.
警告:在运行/启动/启动配置首选项面板中取消选中删除关联资源时删除配置"选项:软删除项目以导入它是很常见的再次返回,强制重新初始化 eclipse 元数据,...但是如果选中此选项,将删除您的详细启动参数!)
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!)
这篇关于Eclipse 中的外部工具启动配置在哪里的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!