I have a maven based project that uses the jts library by vividsolutions. jts uses an old version of xerces which is included in the project's war (in WEB-INF/lib/).
When I go and compile this project, I get an error from the GWT compiler. If I exclude it during compilation (using <scope>runtime</ scope> in the pom) everything compiles fine. Perhaps I don't understand how the GWT compiler works under the hood, but I'd expect the compile time class path to be independent from the actual compiler's class path. The problem comes when I want to use the hosted mode in eclipse. When the project starts up with hosted mode, GWT uses the old xerces lib provided by jts and throws an error. If I start the app in hosted mode outside of eclipse using maven (mvn gwt:run) I don't get the error. The problem with this is that I now don't have access to the debugging capabilities of eclipse and it is a bit clunky. There appears to be some class loading issue with the GPE that is using the war's class path for the GWT compiler rather than have the GWT compiler have its own class path that is unaffected by what is used by the project. Has anyone seen this and do you know of any workarounds? Thanks, Brian -- 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.
