我想知道有什么方法可以告诉eclipse中的osgi控制台在使用tycho-surefire-plugin运行测试后不要退出?
我已经尝试了<argLine>-Dosgi.noShutdown=true</argLine>和<appArgLine>-console -noExit</appArgLine>,但是我没有得到我想要的。
发布于 2012-11-28 14:36:11
通过在远程调试模式下启动tycho测试,我最终成功地进入了OSGi控制台。然而,与上面提到的解决方案不同的是,我必须使用以下配置:
<argLine>-ea -Dosgi.clean=true -Ddebug=true -Dosgi.console.enable.builtin=true</argLine>
<appArgLine>-console 1234 -noExit</appArgLine>https://stackoverflow.com/questions/13473452
复制相似问题