I've got some GWTTestCases (with gwt 1.6.4). I would like to know the
code coverage with the emma-maven-plugin.
My unit tests are correctly executed when i don't want to get the
coverage (with mvn install), but when i try mvn emma:emma, i've got :

java.lang.NoClassDefFoundError: com/allen_sauer/gwt/log/server/
ServerLogImpl
        at com.parkeon.transfolio.utilities.gwt.log.Logger.info(Logger.java:
24)
        at com.parkeon.transfolio.i18n.gwt.client.I18nPlugin.init
(I18nPlugin.java:96)
        at com.parkeon.transfolio.i18n.gwt.client.I18nApplication.doLayout
(I18nApplication.java:107)
        at
com.parkeon.transfolio.i18n.gwt.client.I18nApplication.initI18nService
(I18nApplication.java:60)
        at com.parkeon.transfolio.i18n.gwt.client.I18nApplication.onModuleLoad
(I18nApplication.java:48)
        at
com.parkeon.transfolio.i18n.gwt.client.GwtTstI18nModule.testOnModuleLoad
(GwtTstI18nModule.java:24)
        at
com.parkeon.transfolio.i18n.gwt.client.__GwtTstI18nModule_unitTestImpl.doRunTest
(transient source for
com.parkeon.transfolio.i18n.gwt.client.__GwtTstI18nModule_unitTestImpl:
7)
        at junit.framework.TestCase.runTest(TestCase.java:62)
        at com.google.gwt.junit.client.GWTTestCase.runBare(GWTTestCase.java:
206)
        at com.google.gwt.junit.client.GWTTestCase.__doRunTest
(GWTTestCase.java:137)
        at com.google.gwt.junit.client.impl.GWTRunner.runTest(GWTRunner.java:
188)
        at com.google.gwt.junit.client.impl.GWTRunner.doRunTest
(GWTRunner.java:163)
        at com.google.gwt.junit.client.impl.GWTRunner.access$3(GWTRunner.java:
157)
        at com.google.gwt.junit.client.impl.GWTRunner
$JUnitHostListener.onSuccess(GWTRunner.java:61)
        at com.google.gwt.junit.client.impl.GWTRunner
$JUnitHostListener.onSuccess(GWTRunner.java:1)
        at
com.google.gwt.user.client.rpc.impl.RequestCallbackAdapter.onResponseReceived
(RequestCallbackAdapter.java:215)
        at com.google.gwt.http.client.Request.fireOnResponseReceivedImpl
(Request.java:264)
        at com.google.gwt.http.client.Request.fireOnResponseReceived
(Request.java:229)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:
103)
        at com.google.gwt.dev.shell.ie.IDispatchImpl.callMethod
(IDispatchImpl.java:126)
        at com.google.gwt.dev.shell.ie.IDispatchProxy.invoke
(IDispatchProxy.java:155)
        at com.google.gwt.dev.shell.ie.IDispatchImpl.Invoke
(IDispatchImpl.java:294)
        at com.google.gwt.dev.shell.ie.IDispatchImpl.method6
(IDispatchImpl.java:194)
        at org.eclipse.swt.internal.ole.win32.COMObject.callback6
(COMObject.java:117)
        at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
        at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:1925)
        at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2966)
        at com.google.gwt.dev.SwtHostedModeBase.processEvents
(SwtHostedModeBase.java:235)
        at com.google.gwt.dev.HostedModeBase.pumpEventLoop
(HostedModeBase.java:558)
        at com.google.gwt.junit.JUnitShell.runTestImpl(JUnitShell.java:652)
        at com.google.gwt.junit.JUnitShell.runTest(JUnitShell.java:346)
        at com.google.gwt.junit.client.GWTTestCase.runTest(GWTTestCase.java:
219)
        at junit.framework.TestCase.runBare(TestCase.java:130)
        at junit.framework.TestResult$1.protect(TestResult.java:106)
        at junit.framework.TestResult.runProtected(TestResult.java:124)
        at junit.framework.TestResult.run(TestResult.java:109)
        at junit.framework.TestCase.run(TestCase.java:120)
        at com.google.gwt.junit.client.GWTTestCase.run(GWTTestCase.java:132)
        at junit.framework.TestSuite.runTest(TestSuite.java:230)
        at junit.framework.TestSuite.run(TestSuite.java:225)
        at junit.framework.TestSuite.runTest(TestSuite.java:230)
        at junit.framework.TestSuite.run(TestSuite.java:225)
        at junit.framework.TestSuite.runTest(TestSuite.java:230)
        at junit.framework.TestSuite.run(TestSuite.java:225)
        at
org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run
(JUnit3TestReference.java:130)
        at org.eclipse.jdt.internal.junit.runner.TestExecution.run
(TestExecution.java:38)
        at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests
(RemoteTestRunner.java:460)
        at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests
(RemoteTestRunner.java:673)
        at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run
(RemoteTestRunner.java:386)
        at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main
(RemoteTestRunner.java:196)
Caused by: java.lang.ClassNotFoundException:
com.allen_sauer.gwt.log.server.ServerLogImpl
        at com.google.gwt.dev.shell.CompilingClassLoader.findClass
(CompilingClassLoader.java:626)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClassInternal(Unknown Source)
        ... 54 more



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to