[ http://jira.codehaus.org/browse/MNGECLIPSE-114?page=comments#action_64416 
] 

Eugene Kuleshov commented on MNGECLIPSE-114:
--------------------------------------------

Apparently your attachment haven't had any code. So, I checked out project from 
SVN and were able to run some tests. It worked for me as a single project 
(starting from trunk folter) as well as several projects like in your layout. 
Though I am running on Windows and I had to turn offline mode off and build 
this stuff from command line "mvn install" in order to get poms into the local 
repository.

So, it is either something in your setup or OS X thing. Can you try to delete 
launch configuration and run that test again using "Run As... / JUnit test" 
menu , say, on the project node. Then do to the Debug perspective and open 
properties for java process. It should show you the command line used by junit 
runner and you should be able to see junit jars up there.

> cannot run junit testcases from within Eclipse
> ----------------------------------------------
>
>          Key: MNGECLIPSE-114
>          URL: http://jira.codehaus.org/browse/MNGECLIPSE-114
>      Project: Maven 2.x Extension for Eclipse
>         Type: Bug

>  Environment: OSX, Eclipse 3.2RC1
>     Reporter: Torsten Curdt
>     Assignee: Eugene Kuleshov
>  Attachments: eclipse.png, run.png
>
>
> Dependencies seem to get ignored when running junit testcases from within 
> Eclipse. I just get an exception:
> java.lang.NoClassDefFoundError: junit/framework/TestListener
> The junit jar is listed through the maven dependencies though. When I add it 
> by hand (add external jar) junit starts up but then I am missing my other 
> dependencies.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to