Hi, I think there is some sort of .tmp directory that you'll see in your war folder (or maybe as a peer of your war folder). I wouldn't necessarily rely on this though; it is an implementation detail, and could change in the future.
Is there a reason as to why you need these .class files? Rajeev On Sat, Mar 13, 2010 at 8:35 AM, romant <[email protected]> wrote: > Thanks for the answer Rajeev. It works now, the classpath was the > problem. > > As you write that "GWT performs its own compilation of the java source > files (which is why the folder needs to be on the runtime classpath)" > I would like to know where GWT stores the compiled up-to-date client- > side classes. I checked the war/WEB-INF/classes directory but when I > modify some client-side code the corresponding class files in the > directory remain still the same, the time of their creation is not > changed. Thus the GWT compiler must store the recently compiled > classes probably somewhere else, but where, somewhere in a temp > directory? > > > > On 12 bře, 22:06, Rajeev Dayal <[email protected]> wrote: > > 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 <[email protected]> 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 <[email protected]> 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 <[email protected]> > 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 <[email protected]> > 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 > > > [email protected]. > > > > > > To unsubscribe from this group, send email to > > > > > > [email protected]<google-web-toolkit%[email protected]> > <google-web-toolkit%[email protected]<google-web-toolkit%[email protected]> > > > > > <google-web-toolkit%[email protected]<google-web-toolkit%[email protected]> > > > > > > > > . > > > > > > 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 > [email protected]. > > > To unsubscribe from this group, send email to > > > [email protected]<google-web-toolkit%[email protected]> > <google-web-toolkit%[email protected]<google-web-toolkit%[email protected]> > > > > > . > > > For more options, visit this group at > > >http://groups.google.com/group/google-web-toolkit?hl=en.- 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 [email protected]. > To unsubscribe from this group, send email to > [email protected]<google-web-toolkit%[email protected]> > . > 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 [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
