Hello all!

I'm a bit confused when it comes to GWT compilation and test classes. 
Please enlighten me! :-)

Currently I have some trouble running a GWTTestCase test. I get the 
following compilation error:

The test class 'x.PageIntegrationTestGWT' was not found in module 
> 'x.GwtIntegrationTest'; no compilation unit for that type was seen


This is caused by this source/exclude configuration in the GWT module:

<source path="client">
>      <exclude name="**/*Test*.java"/>
>      <exclude name="**/*Mock*.java"/>
> </source>


The reason we use the wildcard at the end of Test* is that we use a postfix 
annotation to determine which tests to run when (unit/integration and so 
on..). Is there an "easy" way to fix my problem, or do I have to explicitly 
exclude each variant of Test except TestGWT?

I tried creating a separate module definition that inherits the real one, 
and override the source/exclude configuration, but without any luck.

Thanks!

Thomas

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/SWk-UwKFLN8J.
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