Over the weekend my build times have reduced! Perhaps we were having some network issues which were exacerbating the problem. However, it's still slow. I have tracked the cause down to repeated requests for the DTD document http://dl.google.com/gwt/DTD/xhtml.ent that is referenced by each UI Binder templates. I have 80 XML template files and the DTD doc is request 178 times during a clean build. The workaround I have found is to download and store this document locally and add it to the Eclipse XML Catalog. Doing this reduces my build time from approx. two minutes to under 15 seconds.
Wouldn't it be sufficient to fetch such things once per build? Would be interesting to know if the previous GPE and Helios request this DTD so many times. (I used Wireshark to watch what was going on.) On Jul 23, 1:18 am, "Ionuț G. Stan" <[email protected]> wrote: > I've had the same problem and the times improved a bit after downgrading > to Eclipse Helios. It seems there are some problems with Indigo. > > On Jul/22/2011 14:36, Alex Luya wrote: > > > > > > > > > > > Same problem here,even reusing old workspace > > > On Jul 22, 6:55 am,gutto<[email protected]> wrote: > >> Hi > > >> Has anyone ever encountered the "analyzingsources" stage of an > >> eclipse build taking an inordinately long time? It seems to be > >> required each time I make a change to the dependencies of the project. > >> It takes roughly 5 minutes, which is unacceptable. > > >> Does anyone know what is happening during this stage? I'm assuming its > >> building Eclipse metadata or something. Can you suggest what I might > >> try to find the cause of the slow running? > > >> Eclipse Indigo (3.7), Google Plugin for Eclipse 3.7, GWT SDK 2.3.0, > >> OpenJDK 1.6.0_22, Ubuntu 11.04 x84_64, > > >> Thanks > > -- > Ionuț G. Stan | http://igstan.ro -- 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.
