« Return to Thread: [scala-tools] Getting the plugin running in Eclipse PDE

Re: [scala-tools] Getting the plugin running in Eclipse PDE

by Jeppe Nejsum Madsen :: Rate this Message:

Reply to Author | View in Thread

On Wed, Jul 8, 2009 at 6:15 PM, Miles Sabin<miles@...> wrote:

> Great to hear that you want to work on JUnit integration! If you can
> cope with the pain of the current state of trunk, I'd very much
> appreciate it if you worked there rather than on the 2.7.x branch ...
> it'll make it a lot easier to integrate anything you can contribute to
> the next release.

Don't know if this is the right place for discussing plugin development, but:

Just for fun I tried running with trunk but since neither Lift nor
specs seem to run with 2.8 this seems like a dead end for now (for  me
at least). Real pita that scala is not binary compatible between
versions.

The issue I was trying to solve was the inability of the Eclipse JUnit
runner to launch specs test cases without weird workarounds. A brief
debugging session (with 2.7.5) showed that with a declaration like

class UserUnitTest extends JUnit4(UserSpec)

It seems like Eclipse is unable to find the superclass of UserUnitTest
and therefore figure out that JUnit4 has the RunWith annotation. I
haven't digged deep into the Scala plugin, but was wondering if this
is some bigger piece that's missing or just i mishap in this specific
case?

/Jeppe

 « Return to Thread: [scala-tools] Getting the plugin running in Eclipse PDE