Re: development mode isn't updating
Hi,
Sorry to hear that you're having troubles.
On Tue, Dec 15, 2009 at 8:46 AM, darkflame <darkflame@gmail.com> wrote:
I have the same problem, only that didnt work for me.
"GWT Developer plugin for firefox" is listed in the firefox plugins
list, however. (despite me not getting a prompt, I installed in
manually).
Also, there *is* a query string of what seems to be the correct format
present in the url bar when trying it out in different browsers.
The connection between browser and development mode seems to work...at
least, if I copy the link in I see any debug things popup correctly.
However, updateing the code makes no changes whatsoever....even in
other browsers. (Opera,IE).
I have to recompile in order to get changes. (in fact, I have to
recompile under GWT1.7).
I think this might be to do with the url's its giving me to copy;
http://localhost:1723/MyApplicatifn.html?gwt.codesvr=192.168.178.22:9997
For example.
Shouldnt 1723 and 9997 be the same? The 9997 dosnt seem to change
anymore but the other does.
No, they should not be. 1723 is the web server port, but 9997 is the code server port. The web server port is just that - a port on the web server which is used to serve up the page you are requesting (MyAppl...html). The code server port is a port that is opened on the development mode server for incoming browser connections.
I wanted to leave it on 8888 by it kept telling me I had another
session active. If I change it to any fixed number it always tells me
that after the first time; so sessions arnt being closed correctly. So
I had to tick "automatically select unused port" from the eclipse run
options. Which gives random port numbers that work, but my application
just dosnt update.
If you have it at a fixed number, you need to make sure you've terminated the existing launch configuration before you try running it again. This will not be done for you automatically, which is why you're always going to get this error message if you run a launch with a fixed number twice in a row. If you want to run multiple launches at the same time, then you have to use the option to select a random port number.
However, that should definitely not prevent an update from occurring. Perhaps you are running into problems because you're connecting to an existing development mode session. Note that it is always possible to connect to an existing running session, even if you've started a new session from a launch configuration - all that really matters is the URL that you paste into the browsers.
Be sure that all other development mode servers are terminated before starting a new one. To verify this, look at the Debug view in Eclipse, or take a look at the java processes are running on your machine.
Lastly;
When using eclipse I have two run configurations, both were
automatically generated, and I'm not sure which to use.
1. Has it popping up separately see;
http://www.lostagain.nl/tempspace/config1.jpg
2. Has the development mode appearing in a eclipse panel at the bottom
see;
http://www.lostagain.nl/tempspace/config2.jpg
The one were it pops up separately I often cant run as the 8888 port
is used and I cant find where to change it (though when it does run,
the code still dosnt update without a recompile).
Use the second one. That is the one that uses the view integrated with Eclipse.
So, it seems multiple problems for me, but by far and away the most
annoying is not being able to preview changes without recompiling.
This should definitely not have to be the case. Please report back any problems that you run into so that we can get you up and running without having to perform recompilations to see your changes.
Despite all the coolness that gwt2 has brought, I'm tempted to go back
to 1.7 till this problems resolved :-/
I really dont want to do that though, as being able to see debug
information clearly while trying to get IE to behaviour helps a lot.
-Thomas
> browser. I also never got the Extension prompt either (like it says inhttp://code.google.com/intl/nl/webtoolkit/usingeclipse.html).
On Dec 12, 1:44 am, Bonor <bono...@gmail.com> wrote:
> First I couldn't see the refresh and breakpoint changes either in the
>
> Try recompiling the project with GWT recompile. Then refresh the
> browser and the prompt for the extendion will show. From there on it's
> happy hour!!!
>
> Thank you google!
--
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-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
--
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-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home