Strict Standards: Non-static method CodeColorerLoader::Enable() should not be called statically in /home/k6000169/public_html/wp-content/plugins/codecolorer/codecolorer.php on line 254
2010 septiembre | Programador freelance argentina

How to rollback an unsucesful deploy to appengine

sh /paht/to/appengine-sdk/bin/appcfg.sh rollback path/to/project/war/

How to get user locale in a Java Servlet

Locale locale = request.getLocale();
Enumeration locales = request.getLocales();

appengine hot deploy on mac

1. Install JRebel
2. In Eclipse go to Help -> Install New Software… and download JRebel plugin http://www.zeroturnaround.com/update-site
3. Specified jrebel.jar jar in Eclipse / JRebel.
4. Modify dev_appserver.sh and let it something like this:

java -ea -cp “$JAR_FILE” \
com.google.appengine.tools.KickStart
–jvm_flag=-javaagent:$REBEL_HOME/jrebel.jar –jvm_flag=-noverify \
com.google.appengine.tools.development.DevAppServerMain $*

5. Add to the Run Configuration this VM Argument

-javaagent:/path/to/jrebel/jrebel.jar -noverify

6. Now it must works!

Taken from this steps for Windows http://androidisland.blogspot.com/2010/09/appengine-jrebel-and-eclipse-getting.html