That looks like your module is just missing.
"my.corp.gwt2.Application" needs to be on the classpath if it is
inherited by "my.corp.gwt2.Application.JUnit".
I usually make a separate test module for libraries too, but it
doesn't inherit the non test module?
Maybe I don't understand the question here though. What does the test
look like, and what does the test module look like?
On Nov 13, 5:09 am, hgomez <[EMAIL PROTECTED]> wrote:
> Hi to all,
>
> I'm trying the maven-googlewebtoolkit2-plugin.
>
> I could compile but not package since it didn't works when the module
> name is not Application.gwt.xml :
>
> Here is part of my pom :
>
> <build>
> <plugins>
> <!-- configure the GWT-Maven plugin -->
> <plugin>
> <groupId>com.totsp.gwt</groupId>
>
> <artifactId>maven-googlewebtoolkit2-plugin</artifactId>
> <version>2.0-beta25</version>
> <configuration>
> <compileTargets>
>
> <value>my.corp.gwt2.Examples</value>
> </compileTargets>
>
> <runTarget>my.corp.gwt2.Examples/Examples.html</runTarget>
> <logLevel>INFO</logLevel>
> <style>DETAILED</style>
> <noServer>false</noServer>
> <extraJvmArgs>-Xmx512m</extraJvmArgs>
> <gwtVersion>${gwtVersion}</gwtVersion>
> </configuration>
> <executions>
> <execution>
> <goals>
> <!--
> <goal>mergewebxml</goal>-->
> <!--
> <goal>i18n</goal>-->
> <goal>compile</goal>
> <goal>test</goal>
> </goals>
> </execution>
> </executions>
> </plugin>
>
> Here is the error log :
>
> Test Code - FAILURE
> Test Output:
> .Loading module 'my.corp.gwt2.Application.JUnit'
> Loading inherited module 'my.corp.gwt2.Application'
> [ERROR] Unable to find 'my/corp/gwt2/Application.gwt.xml' on
> your classpath; could be a typo, or maybe you forgot to include a
> classpath entry for source?
>
> How could I tell the 'test' part of the plugin to test
> my.corp.gwt2.Examples instead of my.corp.gwt2.Application ?
>
> Regards
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---