【问题标题】:OSGi console after running tycho tests运行 tycho 测试后的 OSGi 控制台
【发布时间】:2012-11-20 12:42:18
【问题描述】:

我想知道在使用 tycho-surefire-plugin 运行测试后,有什么方法可以告诉 Eclipse 中的 osgi 控制台不要退出?

我已经尝试过<argLine>-Dosgi.noShutdown=true</argLine><appArgLine>-console -noExit</appArgLine>,但我没有得到我想要的。

【问题讨论】:

  • 我终于通过远程调试模式启动tycho测试成功进入OSGi控制台。但是,与上述解决方案相比,我必须使用以下配置: -ea -Dosgi.clean=true -Ddebug=true -Dosgi.console.enable.builtin=true-console第1234章
  • 正确。随意将其作为答案提交并接受 - 这样它就不会出现在未回答的问题队列中。

标签: eclipse osgi tycho


【解决方案1】:

我终于通过在远程调试模式下启动 tycho 测试成功进入 OSGi 控制台。然而,与上述解决方案相比,我不得不使用以下配置:

<argLine>-ea -Dosgi.clean=true -Ddebug=true -Dosgi.console.enable.builtin=true</argLine>  
<appArgLine>-console 1234 -noExit</appArgLine>

【讨论】:

猜你喜欢
  • 2014-02-11
  • 2010-10-18
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2020-09-26
  • 2012-03-31
  • 2013-05-30
相关资源
最近更新 更多