Hi all, I have finished upgrading a couple Fulcrum components Merlin: mimetype, localization, configuration. I go to build the site and bamn, everything blows up when attempting to run the unit tests with JCoverage. Which was a real disappointment as I love JCoverage...
Anyone run anything successfully using JCoverage? If I run 'maven test', everything is fine, but if I run 'maven site' with the JCoverage plugin I get errors like what I posted below. Now, my theory is that this is happening because JCoverage is instrumenting the code, and wants to be the classloader. But Merlin is the class loader. And then a spitting match occurs then ends up with a java.lang.NoClassDefFoundError. Comments? Suggestions? Not having JCoverage of components that are run under Merlin is a real bummer. Eric Testsuite: org.apache.fulcrum.mimetype.MimetypeTest Tests run: 3, Failures: 3, Errors: 0, Time elapsed: 0.03 sec Testcase: warning took 0.01 sec FAILED Exception in constructor: testGetCharSet (org.apache.avalon.merlin.unit.UnitRuntimeException: Internal error while attempting to establish the kernel. ------------------------------------------------------------------- Exception: java.lang.reflect.InvocationTargetException Message: null Cause: org.apache.avalon.merlin.kernel.KernelException Message: Internal error while attempting to establish the kernel. ---- report ------------------------------------------------------- Exception: java.lang.NoClassDefFoundError Message: org/apache/avalon/composition/logging/impl/FileTargetProvider ---- stack trace --------------------------------------------------- java.lang.NoClassDefFoundError: org/apache/avalon/composition/logging/impl/FileTargetProvider at org.apache.avalon.merlin.kernel.impl.DefaultLoader.<init>(DefaultLoader.java :79) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAcces sorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstruc torAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:274) at org.apache.avalon.merlin.unit.DefaultEmbeddedKernel.run(DefaultEmbeddedKerne l.java:190) at java.lang.Thread.run(Thread.java:534) --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]