If you make a change to your CLIENT-SIDE Java code, it should be reflected in the browser, even in -noserver mode. What is the URL that you're entering into your browser? Also, when running development mode, do you have your java source folder on the runtime classpath?
The client-side .class files are not important for browser refresh; GWT performs its own compilation of the java source files (which is why the folder needs to be on the runtime classpath). However, if you make a change in your server-side code, the compiled artifacts will not automatically be pushed to your war/WEB-INF/classes directory - you would either have to have your compilation process dump compiled artifacts in war/WEB-INF/classes, or you'd have to run some sort of maven target to update your deployment directory. On Thu, Mar 11, 2010 at 1:21 PM, romant <roman.te...@gmail.com> wrote: > Maybe if someone could put here the pom.xml file and the command with > all the parameters which he uses to run maven to compile a GWT app in > the development mode, that could help. Thnx. > > > > On 11 bře, 18:08, romant <roman.te...@gmail.com> wrote: > > The thing is that I don't use maven in Eclipse, I just use maven > > installed in my operating system. > > There must be a configuration option available for the gwt-maven- > > plugin in the pom.xml file or something like that. > > > > I am sure not everyone uses maven integrated in Eclipse. But thanks > > for the hint anyway. > > > > On 11 bře, 16:34, olivier nouguier <olivier.nougu...@gmail.com> wrote: > > > > > > > > > Rather than using sym link you could use the wtp manifest to deploy the > GWT > > > stuff. > > > > > <wb-resource deploy-path="/search" source-path="war/search"/> > > > > > Then then dev mode will work (refresh) ... as long as you provide the > magic > > > url parameter :) > > > > > On Thu, Mar 11, 2010 at 4:08 PM, romant <roman.te...@gmail.com> wrote: > > > > Hi, > > > > some of you definitely has some experience with the "noserver" > option. > > > > I use GWT 2.0.2, gwt-maven-plugin version 1.2. > > > > > > I run my GWT application, compiled by maven with the "noserver" > option > > > > turned on, in Tomcat. In Tomcat the /webapp directory contains a > > > > symbolic link to the /target/<myapplication> directory which is > > > > located in my project and which is created by maven. The /target/ > > > > <myapplication> directory contains the exploded war file, so Tomcat > > > > can easily run it. It works. When I compile it by maven it works. > > > > > > The problem is that when I make a change in the java code of my > > > > application and when I refresh the browser the changes are not > visible > > > > there. I tried to check the class files in the > /target/<myapplication>/ > > > > web-inf/classes directory and it seems that they were just not > > > > compiled automatically again when I changed the java code. Does the > > > > development mode save the recently compiled class files somewhere > > > > else? Or am I missing something else? > > > > > > Thnx. > > > > > > -- > > > > 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<google-web-toolkit%2bunsubscr...@googlegroups.com> > <google-web-toolkit%2bunsubscr...@googlegroups.com> > > > > . > > > > For more options, visit this group at > > > >http://groups.google.com/group/google-web-toolkit?hl=en. > > > > > -- > > > A coward is incapable of exhibiting love; it is the prerogative of the > > > brave. > > > -- > > > Mohandas Gandhi– Skrýt citovaný text – > > > > – Zobrazit citovaný text – > > -- > 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<google-web-toolkit%2bunsubscr...@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-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.