Tuesday, July 29, 2014

Re: Using super-dev mode - please help

Thanks, Jens for your kind answer.
Really, I don't know if I've even set it up.
Actually, when I downloaded NetBeans GWT plugin it just worked "out-of-the-box" always with DEV mode, and I've never needed to setup anything manually - except my folders and infrastructure for security (which I use custom one instead standard J2EE).

How does SDM knows where to find files? Is there any switch I need to enable source maps? If they are generated automatically, where they reside by default?
Those are questions that I don't know how to answer.



On Tuesday, July 29, 2014 2:26:01 PM UTC-3, Jens wrote:
When SDM is active then source maps are loaded from the SDM code server and not from your app server. Whenever the browser requests a *.cache.js file from the SDM code server a HTTP response header will be set with the location of the source maps. AFAICT this location should always be fine and can not be changed.

Also it should be totally independent on how you setup your project in your IDE because if you use SDM you always end up with:

1.) a server that serves your app like it would be if deployed to production
2.) the SDM code server
3.) Your browser that loads JS + SourceMaps from 2.) and does GWT-RPC/RequestFactory/RequestBuilder requests to 1).

So maybe you have not setup SDM correctly?

-- J.

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