Hi all,
App Engine officially supports a way to differentiate
between production and development as follows:
String env = System.getProperty("com.google.appengine.runtime.environment");
if ("Development".equals(env)) {
...
} else if ("Production".equals(env)) {
...
}
See http://code.google.com/p/googleappengine/wiki/SdkForJavaReleaseNotes
Hope this helps,
Yasuo Higa
--
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 [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-appengine-java?hl=en.