Tuesday, September 10, 2013

Re: GWT Compile project errors

Simon,

is that server package a child package of the gwt client package ? GWT only tries to compile things that are in a source path.

David


On Tue, Sep 10, 2013 at 1:19 PM, Flying-w <simonjones38@googlemail.com> wrote:
Thank you - that has moved me forward.  My remaining errors are all in the server side classes, i.e./src/..../server/myclass.java'.  I'd hope GWT would know not to compile those as they belong to the server and never run client side.  Is there some configuration I've missed or maybe I've refactored something at some point and broken what GWT expects to see?

Simon


On Monday, September 9, 2013 7:16:44 PM UTC+1, stuckagain wrote:
Hi,

It looks like you have some JUnit code in the same package as you have the GWT client/shared code.
Make sure that you put the JUnit code in a separate folder structure and that you don't include it in your GWT compilation path.

I always compile with -strict because sometimes those supressed errors can cause problems (when CustomFieldSerializer do not compile for example).
Without the flag, GWT will leave out java classes that do not properly compile.


David



--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.

No comments:

Post a Comment