SDM in 2.7.0-rc1 doesn't support inclusion in 3rd party sites

102 views
Skip to first unread message

Tal Shani

unread,
Nov 3, 2014, 5:45:31 AM11/3/14
to google-web-tool...@googlegroups.com
Hi,

I am writing a GWT generated JS script that is hosted by several sites.
2.7.0 introduced a breaking change in the code server.
Until 2.7.0, I could test my code using a bookmarklet that injects the script into any site referring to SDM URLs,
Now this is not possible anymore,
And also tested the suggested solution by compiling my own gwt-dev and codeserver.

Is there any objections to the suggested flow? or better suggestions?

(sadly it will take time for me to do the whole cla process)

Tal

Daniel Kurka

unread,
Nov 3, 2014, 10:07:43 AM11/3/14
to google-web-tool...@googlegroups.com
Can you take a look at this and let me know if this helps you out?


--
You received this message because you are subscribed to the Google Groups "GWT Contributors" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit-co...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit-contributors/dba4f2de-9579-49db-8e42-9cdd1472867c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Google Germany GmbH
Dienerstr. 12
80331 München

Registergericht und -nummer: Hamburg, HRB 86891
Sitz der Gesellschaft: Hamburg
Geschäftsführer: Graham Law, Katherine Stephens

Tal Shani

unread,
Nov 3, 2014, 12:48:37 PM11/3/14
to google-web-tool...@googlegroups.com
I have not used the js in the link you provided but.. reading it though i understand now that i should have included .recompile.nocache.js in the bookmarklet and not the one without the recompile.

so using the following bookmarklet

javascript:(function(wnd, src){var d = wnd.document; var s = d.createElement('script');s.src=src; var scripts = d.getElementsByTagName('script');if(scripts.length){scripts[0].parentNode.insertBefore(s, scripts[0])} else {var head = d.getElementsByTagName('head')[0];head.appendChild(s);}})(window, 'http://localhost:9876/modulename/modulename.recompile.nocache.js');

does indeed solve the problem by loading directly the recompile file. 
Thank You.


On Monday, November 3, 2014 5:07:43 PM UTC+2, Daniel Kurka wrote:
Can you take a look at this and let me know if this helps you out?

On Mon, Nov 3, 2014 at 11:45 AM, Tal Shani <tsh...@gmail.com> wrote:
Hi,

I am writing a GWT generated JS script that is hosted by several sites.
2.7.0 introduced a breaking change in the code server.
Until 2.7.0, I could test my code using a bookmarklet that injects the script into any site referring to SDM URLs,
Now this is not possible anymore,
And also tested the suggested solution by compiling my own gwt-dev and codeserver.

Is there any objections to the suggested flow? or better suggestions?

(sadly it will take time for me to do the whole cla process)

Tal

--
You received this message because you are subscribed to the Google Groups "GWT Contributors" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit-contributors+unsubscribe@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages