Mostrando entradas con la etiqueta appengine. Mostrar todas las entradas
Mostrando entradas con la etiqueta appengine. Mostrar todas las entradas

How to upload data to an development server in appengine (MAC OSx)

First download your data as described here.

Then install Charles Proxy App, start the proxy. Set in Proxy -> Proxy Settings to use not the 8888 port.

Finally start your development server and run this in the console.

$ python /path/to/library/google_appengine_python_1.5.5/appcfg.py upload_data --url=http://localhost:8888/remote_api --file=test.csv --application=your_app_id --email=you@gmail.com --passin

How to download data from an appengine app.

From the command line

$ python /path/to/library/google_appengine_python_1.5.5/appcfg.py download_data --application=your_app_id --url=http://app_name.appspot.com/remote_api --filename=test.csv

How to use JSTL in Appengine.

1. You DONT'T have to include JSTL support in your web.xml
2. In your JSP put this attribute: isELIgnored="false" ie: <%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1" isELIgnored="false" %>

Por qué Google eligió Jetty y no Tomcat para correr en Appengine

http://www.infoq.com/news/2009/08/google-chose-jetty

GAE storage article by IBM

http://www.ibm.com/developerworks/java/library/j-gaestorage/?ca=drs-

Remote datastore lib

http://code.google.com/p/remote-datastore/

How to know if i am working on development or production in appengine?

private boolean isDevelopment() {
        return ( SystemProperty.environment.value() == SystemProperty.Environment.Value.Development );

}

How to rollback an unsucesful deploy to appengine

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

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