OSGi console after tycho tests

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

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

+4
source share
1 answer

I finally managed to get to the OSGi console by starting the tycho test in remote debugging mode. However, unlike the above 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> 
+3
source

Source: https://habr.com/ru/post/1447207/


All Articles