外部工具在Eclipse中启动配置的位置 [英] Where are the external tools launch configurations in Eclipse

查看:234
本文介绍了外部工具在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保存这个启动配置吗? p>

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\.plugins\org.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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆