Re: How to run my DETAILED/PRETTY compiled GWT application locally / on app engine?

2010-09-02 Thread Chris Conroy
When you run from eclipse, you are running in DevMode which does not cause a
recompile.

If you compile your app as you like (with DETAILED or PRETTY), run from
Eclipse, and then strip the ?gwt.codesvr fragment from your URL, you'll be
served up the DETAILED or PRETTY compiled version that you just created. For
the vast majority of your issues though, debugging via DevMode (read: in
Java) is going to be what you want.

On Thu, Sep 2, 2010 at 6:08 AM, Ingo Jaeckel ingo.jaec...@googlemail.comwrote:

 hello everyone,

 i want to profile the client side code of my gwt application honeycrm.
 a lot of times i read i just have to compile my application with
 pretty or detailed output style. then i should run and profile it e.g.
 with firebug.

 compiling my app with another output style is easy i.e. integrated
 into the eclipse gwt plugin. but evertime i run my application from
 eclipse it is recompiled with obfuscated output style. when i compile
 it using detailed and then deploy it to app engine, the gwt plugin
 in eclipse compiles it again and deploys the obfuscated js code.

 how can i avoid the recompilation to obfuscated code and instead run
 the js code compiled with detailed output style locally / when
 deployed to app engine? i found no documentation/tutorials about this
 yet.. thanks everyone in advance!

 kind regards,
 ingo

 --
 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.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.




-- 
Chris Conroy
Software Engineer
Google, Atlanta

-- 
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: How to run my DETAILED/PRETTY compiled GWT application locally / on app engine?

2010-09-02 Thread ingo
hello chris,

thank you so much for your explanation. i did not know for example
that stripping away the ?gwt.codesrv fragment runs my gwt app in
javascript mode. that is very very useful, thanks for the hint. i
already identified some of my applications hotspots and fixed them!

i summed up my experiences around the topic in the wiki of my project:
http://code.google.com/p/honeycrm/wiki/Profiling

happy profiling everyone!

kind regards,
ingo

On 2 Sep., 17:23, Chris Conroy con...@google.com wrote:
 When you run from eclipse, you are running in DevMode which does not cause a
 recompile.

 If you compile your app as you like (with DETAILED or PRETTY), run from
 Eclipse, and then strip the ?gwt.codesvr fragment from your URL, you'll be
 served up the DETAILED or PRETTY compiled version that you just created. For
 the vast majority of your issues though, debugging via DevMode (read: in
 Java) is going to be what you want.

 On Thu, Sep 2, 2010 at 6:08 AM, Ingo Jaeckel 
 ingo.jaec...@googlemail.comwrote:









  hello everyone,

  i want to profile the client side code of my gwt application honeycrm.
  a lot of times i read i just have to compile my application with
  pretty or detailed output style. then i should run and profile it e.g.
  with firebug.

  compiling my app with another output style is easy i.e. integrated
  into the eclipse gwt plugin. but evertime i run my application from
  eclipse it is recompiled with obfuscated output style. when i compile
  it using detailed and then deploy it to app engine, the gwt plugin
  in eclipse compiles it again and deploys the obfuscated js code.

  how can i avoid the recompilation to obfuscated code and instead run
  the js code compiled with detailed output style locally / when
  deployed to app engine? i found no documentation/tutorials about this
  yet.. thanks everyone in advance!

  kind regards,
  ingo

  --
  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.comgoogle-web-toolkit%2Bunsubs 
  cr...@googlegroups.com
  .
  For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.

 --
 Chris Conroy
 Software Engineer
 Google, Atlanta

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