I would like to have my GWT application use different constants when debugging or developing vs when deployed. What is the right way to do this? My web searches turn up a lot of pages about debugging GWT applications, which isn’t what I’m looking for.
I would like to have my GWT application use different constants when debugging or
Share
This looks like a job for deferred binding! 😉
It would look something like this (put this in your module XML file, I haven’t actually tested it, but you should get the gist of it):
See the docs for more information on available parameters, rules and whatnot.