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

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

What can I say. You'll have to show me your eclipse projects. Try to zip them 
up, but make sure they are in the archive (especially .classpath and .project 
for all projects). I don't need stuff from within .metadata

One more thing. Open up m2 console clear it, run Project / Clean... for your 
java projects and check that there is no errors.
Open Type dialog (Ctrl-Shift-T) should also show junit classes from jars 
located in m2 repository. Which means m2 classpath container is working fine.

> 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