Hum. it looks like a classpath problem , check your config .

Le vendredi 14 novembre 2008 à 01:07 -0800, Nicolas a écrit :
> Hi all,
> 
> I'm trying to setup my pom.xml to launch my GWT app tests (classes
> extending GWTTestCase) with Maven. I don't want to use a third party
> Maven plugin. I want the tests to be fully launched in Surefire plugin
> because I want to see test reports in my continuous integration server
> (Hudson).
> 
> Here is my project layout :
> 
> |_src
> | |_foo
> |   |_client
> |   |_server
> |   |_public
> |   |_Foo.gwt.xml
> |_test
> | |_foo.client
> |   |_FooTest.java
> |_pom.xml
> 
> I include source and test paths in the test classpath by the following
> way in my pom.xml :
>                 ...
>               <sourceDirectory>src</sourceDirectory>
>               <testSourceDirectory>test</testSourceDirectory>
>               <testResources>
>                       <testResource>
>                               <directory>src</directory>
>                       </testResource>
>                       <testResource>
>                               <directory>test</directory>
>                       </testResource>
>                 </testResources>
>                 ...
> 
> When I launch mvn test, I get the following error :
> Running foo.client.FooTest
> Loading module 'foo.Foo.JUnit'
>    Translatable source found in...
>       [WARN] No source path entries; expect subsequent failures
> com.google.gwt.core.ext.typeinfo.NotFoundException: java.lang.Object
> 
> When I launch the test from Eclipse, it works (I just have to add src
> and test folders in the Run Configuration classpath).
> > 


--~--~---------~--~----~------------~-------~--~----~
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