I don't think

    <source path="../../test/src/test/server"/>

does anything.  As I recall, source paths cannot be outside the root
module folder.  Your servlet implementation can live anywhere for
testing, and it doesn't need to be on the source path.  That's for
client side stuff.

Walden

On Oct 22, 1:13 pm, obesga <[EMAIL PROTECTED]> wrote:
> I have done rigth the separation of test code and bussines code into a
> GWT application
>
> The structure of my code is
> Project
>  + src
>  |  * myproy.gwt.xml
>  |  * public /
>  |  * client /
> + test
>  |  +src
>  |   |  * server / TestServlet.java
>  |  +classes
>  |
>  + classes
>
> So my gwt.xml is:
> <module>
> [...]
>     <entry-point class='client.xxx'/>
>
>     <source path="client"/>
>     <source path="../../test/src/test/server"/>
>
>     <servlet path="/servlet"      class="server.TestServlet"/>
> [...]
> </module>
>
> I must add src - classes and test/src - test/classes to classpath when
> compiling and launching shell.
>
> But when I make the jar to the server, I only include the bussines
> code, no the testing code
>
> ¿ Have you tried configurations like this ?
> ¿ What do you think ?
>
> Oskar
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
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