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

查看:180
本文介绍了外部工具在哪里启动Eclipse中的配置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我通常安装和卸载不同版本的Eclipse,以获取乐趣。我不想安装很多插件。我更喜欢开始使用新的安装来测试IDE。



当我必须配置我一直使用的所有外部工具(例如运行jconsole)时,问题出现。 / p>

另外我想备份我的启动配置。



你知道Eclipse保存这个启动配置的位置吗? p>

解决方案

正如我在这个问题中所说的哪个日食文件属于版本控制,.launch xml文件(启动器定义)位于

  [eclipse-工作区] \.metadata\.plugins\org.eclipse.debug.core\.launches 

您可以将移动到项目目录

,当您的项目被刷新时,这些配置将显示在运行配置对话框中。
这样,这些启动参数文件也可以被管理到其他项目文件中的VCS中,而不是埋在工作区元数据区域中。



警告:在运行/启动/启动配置首选项面板中,取消选中删除关联资源时删除配置选项:通常,软删除项目以便再次导入,强制执行eclipse元数据的重新初始化...但是,如果选中此选项,将会删除您的详细启动参数!)


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?

解决方案

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!)

这篇关于外部工具在哪里启动Eclipse中的配置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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