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

Torsten Curdt commented on MNGECLIPSE-114:
------------------------------------------

>From the command line test are running fine for me as well.

Started with a fresh launch config and this is what gets called:

/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/bin/java 
-classpath 
/Users/tcurdt/dev/jakarta/commons-jci/tests/target/classes:/Users/tcurdt/dev/jakarta/commons-jci/core/target/classes:/Users/tcurdt/.m2/repository/commons-collections/commons-collections/3.1/commons-collections-3.1.jar:/Users/tcurdt/.m2/repository/commons-io/commons-io/1.1/commons-io-1.1.jar:/Users/tcurdt/.m2/repository/commons-lang/commons-lang/2.1/commons-lang-2.1.jar:/Users/tcurdt/.m2/repository/commons-logging/commons-logging-api/1.0.4/commons-logging-api-1.0.4.jar:/Applications/eclipse-SDK-3.2RC1/plugins/org.eclipse.jdt.junit_3.2.0.v20060412-1600/junitsupport.jar:/Applications/eclipse-SDK-3.2RC1/plugins/org.eclipse.jdt.junit.runtime_3.2.0.v20060412-1600/junitruntime.jar
 org.eclipse.jdt.internal.junit.runner.RemoteTestRunner -version 3 -port 59767 
-testNameFile /tmp/testNames33471.txt

No junit jar! And other dependencies are missing, too! The test subproject also 
depends on all the compiler modules and they have dependencies to the compiler 
implementations. They are not in the path either.

> 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