Tuesday, November 4, 2014

Migrating to SDM-GWT 2.7.0 : SourceMaps don't load :-(

Hi all,

I'm migrating from 2.5.1/Classical Dev Mode to 2.7.0-RC1/Super Dev Mode.
I'm really exited about new features.
But (yes, there is a "but"...) although I easily launch in SDM the basic project generated by Eclipse, It doesn't work with my real project:

I launch it from Eclipse : everything seems to be good (the code server is correctly launched, then the main app).
I paste the url in chrome: the first compilation automatically starts and seems to end successfully (on the Eclipse console the logs are ok)

But the nothing more happens: the module don't really start.

I've tried to check everywhere without founding out what's wrong.
From Chrome developer tools, the only difference I've found from the execution of the simple project is that :

- The http://127.0.0.1:9876/sourcemaps/myproject/xxxxx_sourcemap.json isn't called
-As a consequence - I guess - on the source tab, I don't see the "sourcemaps/myproject" folder.

However I thought I've activated sourcemaps in the module file :

...
<add-linker name="xsiframe" />
<set-configuration-property name="devModeRedirectEnabled" value="true" />
<set-configuration-property name='xsiframe.failIfScriptTag' value='false' />
<set-property name="compiler.useSourceMaps" value="true" />
...

If someone has faced this problem and has got the answer, I'd be really grateful.

Thanks in advance

François

--
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