Friday, February 21, 2014

Re: SuperDevMode problem

Thanks Thomas for the reply!
I'll try to do that






2014-02-21 11:27 GMT-03:00 Thomas Strauß <thst71@googlemail.com>:
Hi,

we run mvn and eclipse and sdm. tomcat and sdm are running from eclipse wtp. We use the inplace true option of the mvn gwt plugin. we use gwt compiler plugin.

we do not use mvn cmdline during dev. In this situation, we use the gwt compiler plugin to compile to /src/main/webapp. a parameter is required to do this.

This works until you regenerate the server interfaces. in that case there are serialisation issues coming up.

To resolve them, we do:
- use the mvn generate sources
- remove the Output folder from the src/main/webapps
- remove the unitcache
Run gwtcompiler plugin from eclipse - new app folder appears in webapps
- restart tomcat

SDM will find the new sources usually. 


a little wierd maybe, but this works for us. Any ideas to improve this are welcome. 

Thomas
-- 
Thomas Strauß
SRS-Management GmbH
HRB 25262 AG Darmstadt
Gfs.: Detlev Homilius, Thomas Strauß
*** sent via mobile phone




Am 21.02.2014 um 14:48 schrieb Fabricio Pizzichillo <fpizzichillo@gmail.com>:

Hello community 
I have a problem running the superdevmode. 

Whenever the message "GWT module 'Foo' may need to be (re) compiled" appears when I press "DevModeOn --> Compile". 
RPC calls also do not work because it can not access the serialization policies.
In the module put
<add-linker name="xsiframe" />
<set-configuration-property name="devModeRedirectEnabled" value="true" />

The message when i make a call to server is
Type 'org.Foo' was not assignable to 'com.google.gwt.user.client.rpc.IsSerializable' and did not have a custom field serializer. For security purposes, this type will not be deserialized.

The superdevmode I run with "mvn gwt:run -Dgwt.codeserver.port=9876" and another terminal "mvn gwt:run-codeserver"

Any hints

sorry for my English
Regards 

--
You received this message because you are subscribed to the Google Groups "Codehaus Mojo gwt-maven-plugin Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to codehaus-mojo-gwt-maven-plugin-users+unsubscribe@googlegroups.com.
To post to this group, send email to codehaus-mojo-gwt-maven-plugin-users@googlegroups.com.
Visit this group at http://groups.google.com/group/codehaus-mojo-gwt-maven-plugin-users.
For more options, visit https://groups.google.com/groups/opt_out.

--
You received this message because you are subscribed to the Google Groups "Codehaus Mojo gwt-maven-plugin Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to codehaus-mojo-gwt-maven-plugin-users+unsubscribe@googlegroups.com.
To post to this group, send email to codehaus-mojo-gwt-maven-plugin-users@googlegroups.com.
Visit this group at http://groups.google.com/group/codehaus-mojo-gwt-maven-plugin-users.
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