In case it is relevant, I've recently started working with bndtools
and at my first attempt to run a "OSGi junit test" project ran into
the same dependency mismatch in bndtools.runtime.junit. Patching that
by editing the manifest in a similar way to Sebastian it functions for
me without the socket connection errors (this is under eclipse 3.5.2).
When I say it "functions" it does report:
13-Apr-2011 09:33:44 bndtools.runtime.junit.internal.Activator
createTestReporter
SEVERE: No JUnit reporter was specified; aborting tests.
But in fact it then runs the tests (twice) and successfully reports
them to eclipse.
Not worked out why the tests run twice nor why they fail when the same
same bundles run as plain "OSGi run" from the same project work just
fine :(
Dave