where is my -xs output?

197 views
Skip to first unread message

Paul

unread,
Oct 5, 2008, 3:16:07 PM10/5/08
to Google Web Toolkit
Using 1.5.2 I have left the gwt.xml file completely as is, except
added the tag <add-linker name="xs" /> but I get no extra output. I
have even tried including <inherits name="com.google.gwt.core.Core" />
before my add-linker line, and still nothing.

Please let me know what I'm doing wrong. My project really needs cross-
site in order to work.

Daniel Kurka

unread,
Oct 6, 2008, 12:11:21 AM10/6/08
to Google-We...@googlegroups.com
Hi Paul,

you don`t get any extra output anymore, but all the dirrented <has>.html files should be named <hash>.js. 
I did the exact same thing and it worked for me.



2008/10/5 Paul <paulss...@gmail.com>

Paul

unread,
Oct 6, 2008, 5:47:47 AM10/6/08
to Google Web Toolkit
Thanks for the reply. Here's the situation:

One of my compilation output files is:
ke.co.mss.MyModule.nocache.js

and I want to include it in a cross-site way, so I was looking for a
file called ke.co.mss.MyModule-xs.nocache.js which there is none.

Are you saying that by including the tag <add-linker name="xs" /> in
my module's .gwt.xml I can go ahead and invoke the cross-site
javascript from ke.co.mss.MyModule.nocache.js and it'll just work?
Even though it lives on a different server elsewhere?



On Oct 6, 7:11 am, "Daniel Kurka" <kurka.dan...@googlemail.com> wrote:
> Hi Paul,
> you don`t get any extra output anymore, but all the dirrented <has>.html
> files should be named <hash>.js.
> I did the exact same thing and it worked for me.
>
> 2008/10/5 Paul <paulsschw...@gmail.com>

Paul

unread,
Oct 6, 2008, 5:57:07 AM10/6/08
to Google Web Toolkit
Oh, you're right! So no more need for pointing to the -xs.nocache.js
file, you just add <add-linker name="xs" /> to your gwt.xml and then
compile like normal and then the resulting
ke.co.mss.MyModule.nocache.js file IS cross-site enabled.

Thanks for that Daniel!

Paul
Reply all
Reply to author
Forward
0 new messages