Automatic Resource Injection

31 views
Skip to first unread message

Greg

unread,
Aug 19, 2006, 5:37:14 PM8/19/06
to Google Web Toolkit
Automatic resource injection is a pretty cool feature. However, I have
found one problem with it. The JavaScript and CSS files you inject
must remain relative to your host file. This means if you move the
host file to a directory other than your module directory, you have to
move your injected files too. It would be nice if the injected files
were loaded from the module directory, not the host file directory.

Anyone found a way around this without editing the generated
JavaScript?

GWT rules!

Greg

unread,
Aug 30, 2006, 4:27:46 PM8/30/06
to Google Web Toolkit
This has been fixed in version 1.1.10.

dmo...@gmail.com

unread,
Sep 13, 2006, 2:39:10 PM9/13/06
to Google Web Toolkit
what exactly has been fixed?
does the external resource file need to be in /public directory?

Greg

unread,
Sep 28, 2006, 2:19:03 PM9/28/06
to Google Web Toolkit
Yes, the injected files should be placed in the public directory which
will then get copied to your output directory when you run the GWT
compiler.

Reply all
Reply to author
Forward
0 new messages