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