HI!

At GWT side you can access to client classes only.
i.e.
com.etmen.simplewebapp.SimpleSampleProject.server.app.PersistencyManager
should be in client package if you want to use it in GWT side (even if you
want to use it for testing).

You can test you client and server code separatly - write server-side unit
tests without using GWTTestCase.

--
Kind regards,
Ignat Alexeyenko.


On Tue, Dec 14, 2010 at 1:56 PM, Çağdaş <[email protected]> wrote:

> I'm trying to run a custom test that extends GWTTestCase in my gwt
> project with maven. And i have custom classes in server pack. and i
> need to use them in my test. I'm trying to run test with "mvn
> gwt:test" and
>
> [ERROR] Line 52: No source code is available for type
> com.etmen.simplewebapp.SimpleSampleProject.server.app.PersistencyManager;
> did you forget to inherit a required module?
>
> PersistencyManager is one of my custom class in server pack.
>
> How can i fix this?
>
> Any help will be valuable.
>
> Thanks.
>
> --
> 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]<google-web-toolkit%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>
>

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