Hi Guys,

I am starting to write my first Junit GwtTest using
maven-googlewebtoolkit2-plugin and having trouble understanding what I am
doing wrong.

When I run the test via mvn test I get following failure:

Test Output:
.Loading module 'com.test.gwt.client.TheTestEntryPoint.JUnit'
   Loading inherited module 'com.test.gwt.client.TheTestEntryPoint'
      [ERROR] Unable to find 'com/test/gwt/client/TheTestEntryPoint.gwt.xml'
on your classpath; could be a typo, or maybe you forgot to include a
classpath entry for source?

Here are some details:

   - I am running the following plugin version. I will upgrade when I have
   sorted this issue out:

                   <groupId>com.totsp.gwt</groupId>
                   <artifactId>maven-googlewebtoolkit2-plugin</artifactId>
                   <version>2.0-beta5</version>

   - I can run my normal application's module *
   com.test.gwt.client.Application* just fine via: *mvn
   com.totsp.gwt:maven-googlewebtoolkit2-plugin:gwt*
   - I have a separate module for testing in a class called  *
   com.test.gwt.client.TheTestEntryPoint* under src/test/java which is
   different from my normal module class
*com.test.gwt.client.Application*class (which works fine) under
src/main/java
   - I have a module descriptor file for unit tests: *
   ./src/test/resources/com/test/gwt/TheTestEntryPoint.gwt.xml* which is
   different from my normal module descriptor file *
   ./src/main/resources/com/test/gwt/Application.gwt.xml*
   - My project file structure is as follows:

   ./src
   ./src/main
   ./src/main/webapp
   ./src/main/webapp/index.html
   ./src/main/webapp/WEB-INF
   ./src/main/webapp/WEB-INF/lib
   ./src/main/webapp/WEB-INF/web.xml
   ./src/main/webapp/META-INF
   ./src/main/webapp/META-INF/MANIFEST.MF
   ./src/main/webapp/META-INF/context.xml
   ./src/main/resources
   ./src/main/resources/com
   ./src/main/resources/com/test
   ./src/main/resources/com/test/gwt
   ./src/main/resources/com/test/gwt/public
   ./src/main/resources/com/test/gwt/public/Application.css
   ./src/main/resources/com/test/gwt/public/Application.html
   ./src/main/resources/com/test/gwt/Application.gwt.xml
   ./src/main/java
   ./src/main/java/com
   ./src/main/java/com/test
   ./src/main/java/com/test/gwt
   ./src/main/java/com/test/gwt/client
   ./src/main/java/com/test/gwt/client/Application.java
   ./src/test
   ./src/test/resources
   ./src/test/resources/com
   ./src/test/resources/com/test
   ./src/test/resources/com/test/gwt
   ./src/test/resources/com/test/gwt/public
   ./src/test/resources/com/test/gwt/TheTestEntryPoint.gwt.xml
   ./src/test/java
   ./src/test/java/com
   ./src/test/java/com/test
   ./src/test/java/com/test/gwt
   ./src/test/java/com/test/gwt/client
   ./src/test/java/com/test/gwt/client/GwtTestMyTest.java
   ./src/test/java/com/test/gwt/client/TheTestEntryPoint.java
   ./pom.xml
   ./run.sh
   ./profiles.xml


What am I missing that is causing my test error? Thanks for your help on
what is likely a real dumb error on my part.

-- 
Regards,
Farrukh

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"gwt-maven" 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/gwt-maven?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to