On Thu, Apr 22, 2010 at 23:42, Toby Reyelts <to...@google.com> wrote: > [...] >> What about a property like com.google.appengine.environment, that >> could have "local" or "production" as values? >> I know there are some other mechanisms to check that, but that would >> be interesting to have that convention available. > > That's already available as a system property. > See > http://code.google.com/appengine/docs/java/runtime.html#The_Environment and http://code.google.com/appengine/docs/java/javadoc/com/google/appengine/api/utils/SystemProperty.Environment.html
Cool! Somehow I missed that! Thank you. Guillaume -- Guillaume Laforge Groovy Project Manager Head of Groovy Development at SpringSource http://www.springsource.com/g2one -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.