4
我不知道有什么方法可以告诉eclipse中的osgi控制台在运行tycho-surefire-plugin测试后不会退出吗?运行tycho测试后的OSGi控制台
我试过<argLine>-Dosgi.noShutdown=true</argLine>
和<appArgLine>-console -noExit</appArgLine>
,但我没有得到我想要的。
我不知道有什么方法可以告诉eclipse中的osgi控制台在运行tycho-surefire-plugin测试后不会退出吗?运行tycho测试后的OSGi控制台
我试过<argLine>-Dosgi.noShutdown=true</argLine>
和<appArgLine>-console -noExit</appArgLine>
,但我没有得到我想要的。
我终于成功通过在远程调试模式下启动tycho测试进入OSGi控制台。然而,在相反于上述溶液我不得不使用以下配置:
<argLine>-ea -Dosgi.clean=true -Ddebug=true -Dosgi.console.enable.builtin=true</argLine>
<appArgLine>-console 1234 -noExit</appArgLine>
的
这种方法对我无效。我需要Tycho Surefire插件中的断点和此处提到的配置:http://stackoverflow.com/a/12784090/337621 –
可能重复的[?如何分析第谷测试执行过程中的低电平的OSGi问题](http://stackoverflow.com/questions/12784087/how-to-analyze-low-level-osgi-ty-ty-ty-ty-ty-test-execution) –
我终于成功地通过在远程调试模式下启动tycho测试来进入OSGi控制台。然而,在相反于上述溶液我不得不使用以下配置: -ea -Dosgi.clean =真-DDEBUG =真-Dosgi.console.enable.builtin =真 -console 1234 -noexit –
Anna
正确的。随意提交它作为答案,并接受它 - 这样它就会摆脱未答复的问题队列。 –