views:

434

answers:

1

We need to run unit tests with an older version of JUnit4 (for arcane reasons). Eclipse has a choice between Junit3 and Junit4, but there is no way to add/change the Junit4 version.

A temporary work around was to copy the junit plugin from Eclipse Ganymede, but this gets clobbered when Galileo updates itself.

It looks as far as the update manager JUnit is part of a larger update. I see no way to manage it via the update manager or elsewere.

+1  A: 

I believe that the junit4 used is whichever version is in your target platform. To change it, go to Window -> Preferences -> Plug-in Development -> Target Platform. The default target is the running eclipse. You can create a new target based on the default, add the old junit4 to the target, and disable the new one on the "Content" tab.

Andrew Niefer
Thanks for the help!
Eric Raymond