Tuesday, March 3, 2015

Condition for GWT version in module XML

Hello!

In our company we have used GWT 2.6.1 until recently, and are gradually switching to 2.7. We have many projects, and for some projects, we need an option to run them sometimes with GWT 2.6.1 and sometimes with GWT 2.7.

However, for an unknown reason, all logging handlers are enabled by default (I would like to know why?). So, for GWT 2.6.1, I need to explicitly disable the annoying popupHandler and firebugHandler. But then, this two properties fire an error when running with GWT 2.7.

So my question is: how would I write GWT module XML file, where I would set popupHandler and firebugHandler _only_ if running with GWT 2.6.1? We don't like to have two XML files for two versions. Is it possible to do this in one file?

Regards,
Butl

--
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