Re: Problems with Scala unit testing

2010-09-27 Thread Justin Edelson
As described here: http://maven.apache.org/plugins/maven-surefire-plugin/examples/class-loading.html, try setting useManifestOnlyJar to false. That will probably fail on Windows, but you're on OS X, so that's probably OK for now. Also, I would suggest posting this to a Scala mailing list. Justin

Re: Problems with Scala unit testing

2010-09-27 Thread Wayne Fay
> [DEBUG] cmd:   > /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home/bin/java > -classpath > /Users/Ken/.m2/repository/org/scala-lang/scala-library/2.8.0/scala-library-2.8.0.jar:/Users/Ken/.m2/repository/org/scala-lang/scala-compiler/2.8.0/scala-compiler-2.8.0.jar:/Users/Ken/.m2/rep

Re: Problems with Scala unit testing

2010-09-27 Thread Kenneth McDonald
Thanks for the advice, unfortunately those things did not cure the problem. I must admit, I'm very puzzled. More experienced maven users seem to have run out of ideas as well, so I may have to look at a different solution for running my tests, which is very unfortunate. Thanks, Ken On Sep 27,

Re: Problems with Scala unit testing

2010-09-27 Thread Nayan Hajratwala
On Sep 26, 2010, at 3:47 PM, Kenneth McDonald wrote: > > Now for a run of mvn test: > > mvn -X test > . > . > . > [INFO] Surefire report directory: > /Users/Ken/mvn_projects/rex/target/surefire-reports > Forking command line: /bin/sh -c cd /Users/Ken/mvn_projects/rex && > /System/Library/Frame

Problems with Scala unit testing

2010-09-26 Thread Kenneth McDonald
Hi all, First of all, just for those that aren't familiar, Scala is one of the family of languages that compiles to JVM bytecode. Arguably the most sophisticated of them. I can't run my Scala unit tests with Maven (the unit test suite I'm using uses JUnit), and I think I know why, but I don't