Hi All, 

I'm using Cobertura to perform some coverage tests.

I am running Maven from inside WSAD 5.1.1 using the external tools mechanism
(I'm assuming the Eclipse plugin won't work with WSAD)

When from WSAD I get the following exception.

 
[INFO] [cobertura:instrument]
[INFO] Cobertura 1.7 - GNU GPL License (NO WARRANTY) - See COPYRIGHT file
Instrumenting 86 classes to
C:\DEVWOR~2\MAVENW~1\oaf\target\generated-classes\cobertura
Cobertura: Saved information on 84 classes.
Instrument time: 2073ms

[INFO] Instrumentation was successful.
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:testCompile]
[INFO] Nothing to compile - all classes are up to date
[INFO] [surefire:test]
[INFO] Setting reports dir: C:\DEVWOR~2\MAVENW~1\oaf\target/surefire-reports
java.lang.NoSuchMethodError: java.lang.String: method
split(Ljava/lang/String;)[Ljava/lang/String; not found
        at
org.apache.maven.surefire.SurefireBooter.createForkingClassLoader(SurefireBo
oter.java:291)
        at
org.apache.maven.surefire.SurefireBooter.main(SurefireBooter.java:680)
Exception in thread "main" 
[ERROR] There are test failures.


However, if I run this from the command line all works as expected.

I presume this is due to the JRE being used.  I have setup the WSAD
workspace to use 1.4.2 (in the .classpath file)

But still no luck, 

Am I missing something simple ?  Any ideas ?

Thanks

Jon

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to