Friday, May 16, 2014

Re: Setting user.agent in pom-file maven-project's



On Friday, May 16, 2014 12:03:33 PM UTC+2, al1975e wrote:
To speed up compilation GWT provides solution by setting property in gwt.xml - file (for examle:<set-property name="user.agent" value="gecko1_8,safari,ie8"/>)
How can i set it in my pom-file maven-project's?     http://9mmedia.com/blog/?p=854 - it does not help

What's wrong with that approach? (OK, I find it a bit heavy-weight and convoluted, but it should work)
How does it "not help"?

The way I used to do it is without filtering, with a dedicated gwt.xml file with appropriate rename-to (as in http://www.gwtproject.org/doc/latest/DevGuideOrganizingProjects.html#DevGuideModuleXml and http://www.gwtproject.org/doc/latest/FAQ_DebuggingAndCompiling.html#Can_I_speed_up_the_GWT_compiler?). That way I can use the file right from the IDE without the need to preprocess it with Maven first. See https://github.com/tbroyer/gwt-maven-archetypes/tree/9d718d50962879394d7a8df178f5b8da2091be0c (note that I since removed those _dev.gwt.xml modules so look at this commit specifically –or an older one, not a newer one–; as you could have almost the same result with SuperDevMode)

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment