OSGi console after running tycho tests

这一生的挚爱 提交于 2019-12-23 13:05:08

问题


I wonder is there any way to tell the osgi console in eclipse not to exit after running tests with tycho-surefire-plugin?

I have tried out <argLine>-Dosgi.noShutdown=true</argLine> and <appArgLine>-console -noExit</appArgLine>, but I do not get what I want.


回答1:


I finally succeeded in getting to the OSGi console by starting the tycho test in the remote debug mode. However in contrast to the above mentioned solution I had to use the following configuration:

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


来源:https://stackoverflow.com/questions/13473452/osgi-console-after-running-tycho-tests

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!