Wednesday, July 30, 2014

SuperDevMode & external server

Hello,

Our GWT app does REST operations with the web server that's hosting it. The server uses HTTP-Basic authentication for the REST operations. In production mode this naturally poses no problems. However in GWT development mode the issues of cross domain restrictions (CORS) come into play.

To work around this we've used the Eclipse option Debug as web application running on an external server and pointed it the url where the GWT app is deployed on the server. This works all fine but as we know the time is running out for the conventional GWT development mode and SuperDevMode is the future.

However we have not managed to get the SDM to work in manner similar to the way we've used the development in the past. We've got the code server up and running our GWT app with SDM debugging locally works but the REST calls fail due the above CORS issue. Trying to run the SDM externally similar to the development mode ends up in on the dev mode popup with the compile button missing with a tooltip saying This module does't have SDM enabled.

--
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/d/optout.

No comments:

Post a Comment