在Eclipse IDE之外启动运行配置 [英] Launching run configuration outside Eclipse IDE

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

问题描述

我有一个为我的Eclipse RCP应用程序定义的运行配置,保存到.launch文件。有没有办法在Eclipse IDE外使用这个启动配置?即

I have a run configuration defined for my Eclipse RCP application which is saved to a .launch file. Is there a way to use this launch configuration outside the Eclipse IDE? i.e, it would be nice to be able to launch the application from the command line for continuous integration purposes.

推荐答案

您可以从命令行启动应用程序, Eclipse使用命令行:

You can get the command line Eclipse uses:


  1. 在Eclipse中运行程序

  2. 转到Debug

  3. 右键单击进程(可能是树中的第二个项目),然后选择属性

  4. 复制shell命令并删除agentlib标志在bash中运行。很抱歉,您只要变更设定,就必须这样做。

  1. Run your program in Eclipse
  2. Go to the "Debug" view
  3. Right-click on the process (probably the second item in the tree) and select "Properties"
  4. Copy shell command and delete the agentlib flag to run in bash. Unfortunately, you need to do this whenever you change the configuration.

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

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