On Monday, August 4, 2014 8:57:32 PM UTC+2, Jens wrote:
>
> Remember where I am standing:
>>
>> *In eclipse I call "run as web application", and in the generated link 
>> (http://127.0.0.1:8888/index.html?gwt.codesvr=127.0.0.1:9997 
>> <http://127.0.0.1:8888/index.html?gwt.codesvr=127.0.0.1:9997>) I cut off 
>> the portion after and including the "?" character, which results in 
>> http://127.0.0.1:8888/index.html <http://127.0.0.1:8888/index.html>.*
>>
>>
>> This and nothing more is what I have changed. I thought that I am using 
>> SDM this way. If this is not SDM, what do I have to change to use SDM?
>>
>
> It will be SDM if you have compiled your app to JavaScript
>

Yes, I run the GWT compiler...
 

> so you can access it through http://127.0.0.1:8888/index.html 
>

Yes, I cann access it this way!
 

> and if you have used the DevMode On bookmarklet from the SDM code server 
> afterwards to recompile your app (and thus reloading the app from the SDM 
> code server, which also provides sourcemaps, automatically).
>

I remember having created this bookmarklet when reading some SDM document, 
but I never understood how to use it. Why should one use it to recompile 
the app, instead of running the GWT compiler in eclipse? And what exactly 
is the SDM code server (remember, I started my app in eclipse by calling 
"run as web application"). Is it simply the embedded server in eclipse 
called Jessie?

However, when I click on the "DevMode On" bookmarklet while my app is 
running, I get the following message in the chrome console:

GET http://localhost:9876/dev_mode_on.js net::ERR_CONNECTION_REFUSED 


If you have never used the bookmarklet then you haven't used SDM yet. 
>

No, I never used the bookmarklet, because I did not see any effects.
 

> In that case you probably only have compiled your app to JavaScript and 
> used the embedded Jetty of classic DevMode (run as web application) to 
> serve your app.
>

Should the app be started in a different way, other than "run as web 
application"?
 

My understandig at the moment looks like this:


   1. Run "GWT compile" in eclipse.
   2. Run "Run as Web Application" in eclipse.
   3. Open "http://127.0.0.1:8888/index.html"; in the browser
   4. Make changes to the code, because you saw that there is something 
   wrong.
   5. Click on "DevMode On".

As already mentioned, 5. does not work for me. I don't understand why we 
don't simply recompile with "GWT compile" command in eclipse. And I also 
don't understand 1. and 2.: Calling "Run as Web Application" always worked 
without running the GWT compiler. I always needed the GWT compiler to 
create a war file...

I hope that I get the breakthrough soon...

Magnus

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

Reply via email to