Just to check Jerome, are you running as a JUnit Test or a JUnit Plug-in Test?
If run as a plug-in test a lot more goes on, including starting up a new test workbench and all the classlaoders associated with that - so you acutally see a new instance of Eclipse running. This really does seem to make a difference. All of my plugins have been created via the New->Project->Plugin project (specifically as plugins for a RCP project). AJ Quoting Jerome Louvel <[EMAIL PROTECTED]>: > > Hi AJ, > > In the Restlet distribution, there is a > "/src/com.noelios.restlet.test" > directory that contains a plug-in project that serves as a suite of > JUnit > tests. It is working fine within Eclipse, even when I run the tests > with > "Run as JUnit test case...". > > I'm not sure what goes wrong in your case. Could you give me detailed > steps > to reproduce, or a sample project. > > BTW, in order to have a full Eclipse plug-in project, you need a bit > more > that a MANIFEST.MF file. Some special entries are also added to > .project. > The best way to convert a Java project into a Plug-in project is to use > "PDE > Tools/Convert Projects to Plug-in Projects..." menu entry. > > Best regards, > Jerome >

