Re: embed entire GWT application into single html file

2010-09-28 Thread Thomas Broyer


On Sep 28, 7:18 am, Wolfgang wolfgangmey...@gmail.com wrote:
 OK, totally got this to work with firefox (I assume it would work with
 any other browser, just change the user.agent to the appropriate
 value)... here are the lines to add to your module:

   define-linker name=sso
 class=com.google.gwt.core.linker.SingleScriptLinker /
   set-property name=user.agent value=gecko/
   add-linker name=sso/

You don't need the define-linker, it's already in
com.google.gwt.core.Core

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



embed entire GWT application into single html file

2010-09-27 Thread Wolfgang
I've tried doing this on my own with not much success, as the
javascript generated by google web tookit is a bit too cryptic for me.
What I am trying to do is this: embed all html, css, images, and
javascript for my GWT application into a single html file. I only need
to target a single web browser, so I don't need multiple versions of
the html file. Does anyone have any hints on how I might best approach
converting a standard GWT-compiled application into a single html file
version?

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: embed entire GWT application into single html file

2010-09-27 Thread lineman78
There was a single file linker in the 1.5 days, dont know if its still
around, but it would blow up if it determined more than one
permutation is needed.

On Sep 26, 1:21 pm, Wolfgang wolfgangmey...@gmail.com wrote:
 I've tried doing this on my own with not much success, as the
 javascript generated by google web tookit is a bit too cryptic for me.
 What I am trying to do is this: embed all html, css, images, and
 javascript for my GWT application into a single html file. I only need
 to target a single web browser, so I don't need multiple versions of
 the html file. Does anyone have any hints on how I might best approach
 converting a standard GWT-compiled application into a single html file
 version?

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: embed entire GWT application into single html file

2010-09-27 Thread Wolfgang
WOOHOO! Thanks a lot, just the keywords I needed :)
http://google-web-toolkit.googlecode.com/svn-history/r8177/javadoc/2.1/com/google/gwt/core/linker/SingleScriptLinker.html

I hope it works for 2.x...

On Sep 27, 5:19 pm, lineman78 linema...@gmail.com wrote:
 There was a single file linker in the 1.5 days, dont know if its still
 around, but it would blow up if it determined more than one
 permutation is needed.

 On Sep 26, 1:21 pm, Wolfgang wolfgangmey...@gmail.com wrote:

  I've tried doing this on my own with not much success, as the
  javascript generated by google web tookit is a bit too cryptic for me.
  What I am trying to do is this: embed all html, css, images, and
  javascript for my GWT application into a single html file. I only need
  to target a single web browser, so I don't need multiple versions of
  the html file. Does anyone have any hints on how I might best approach
  converting a standard GWT-compiled application into a single html file
  version?

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: embed entire GWT application into single html file

2010-09-27 Thread Wolfgang
Also some notes on how to narrow it down to only one result:

http://code.google.com/p/google-web-toolkit-doc-1-5/wiki/FAQ_CompileOnePermutation

On Sep 27, 5:19 pm, lineman78 linema...@gmail.com wrote:
 There was a single file linker in the 1.5 days, dont know if its still
 around, but it would blow up if it determined more than one
 permutation is needed.

 On Sep 26, 1:21 pm, Wolfgang wolfgangmey...@gmail.com wrote:

  I've tried doing this on my own with not much success, as the
  javascript generated by google web tookit is a bit too cryptic for me.
  What I am trying to do is this: embed all html, css, images, and
  javascript for my GWT application into a single html file. I only need
  to target a single web browser, so I don't need multiple versions of
  the html file. Does anyone have any hints on how I might best approach
  converting a standard GWT-compiled application into a single html file
  version?

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: embed entire GWT application into single html file

2010-09-27 Thread Wolfgang
OK, totally got this to work with firefox (I assume it would work with
any other browser, just change the user.agent to the appropriate
value)... here are the lines to add to your module:

  define-linker name=sso
class=com.google.gwt.core.linker.SingleScriptLinker /
  set-property name=user.agent value=gecko/
  add-linker name=sso/

Then I took the module name.nocache.js and embedded the contents in
the module name.html file that gwt produces. The app loaded up with
no problems.

On Sep 27, 7:46 pm, Wolfgang wolfgangmey...@gmail.com wrote:
 Also some notes on how to narrow it down to only one result:

 http://code.google.com/p/google-web-toolkit-doc-1-5/wiki/FAQ_CompileO...

 On Sep 27, 5:19 pm, lineman78 linema...@gmail.com wrote:

  There was a single file linker in the 1.5 days, dont know if its still
  around, but it would blow up if it determined more than one
  permutation is needed.

  On Sep 26, 1:21 pm, Wolfgang wolfgangmey...@gmail.com wrote:

   I've tried doing this on my own with not much success, as the
   javascript generated by google web tookit is a bit too cryptic for me.
   What I am trying to do is this: embed all html, css, images, and
   javascript for my GWT application into a single html file. I only need
   to target a single web browser, so I don't need multiple versions of
   the html file. Does anyone have any hints on how I might best approach
   converting a standard GWT-compiled application into a single html file
   version?

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.