Yea, that sounds like it would work out great too. I might end up choosing that over the JSP method. Thanks again Jens, I really appreciate the ideas.
On Monday, June 15, 2015 at 3:13:19 PM UTC-4, Jens wrote:
-- On Monday, June 15, 2015 at 3:13:19 PM UTC-4, Jens wrote:
I see,maybe you can generate a second representation of your constant values as part of the build process. I could imaging slapping an annotation on your interface/enum that defines your constants and using an annotation processor to generate a different output format.Then you place some placeholder variables in your static page and use your build tool to replace these variables with the data from your generated constants file.If you use Maven you could generate a constants.properties file and use Maven resource filtering to use that file to replace the placeholder variables.-- J.
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