Anna
Anna

Reputation: 233

OSGi console after running tycho tests

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.

Upvotes: 4

Views: 803

Answers (1)

Anna
Anna

Reputation: 233

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>

Upvotes: 3

Related Questions