Google App Engine

Text.

appengine-java.sh

GAEROOT=”$HOME}/appengine-java-sdk-1.6.0” APPTREE=”$1}/src/META-INF $1}/src/$1} $1}/war/WEB-INF $1}/war/WEB-INF/classes $1}/war/WEB-INF/lib” SDKDIR_V=’$sdk.dir}’ CWD=$(pwd)

if [[ “$#}” -ne 1 ]] then echo -e “Missing arguments!\nUsage: ‘‘basename $0’’ \n" exit 0 fi

echo -e “\nCreating GAE app directory tree layout…\n” cd “$GAEROOT}” mkdir -p $APPTREE}

echo -e “\nCreating Ant build file…\n” cat > “$GAEROOT}/$1}/build.xml” «EOF

EOF

echo -e “\nCreating web.xml…\n” cat > “$GAEROOT}/$1}/war/WEB-INF/web.xml” «EOF <!DOCTYPE web-app PUBLIC “-//Oracle Corporation//DTD Web Application 2.3//EN” “http://java.sun.com/dtd/web-app_2_3.dtd”>

$1} $1}.GuestbookServlet $1} /$1} index.html

EOF

cat > “$GAEROOT}/$1}/war/WEB-INF/appengine-web.xml” «EOF

1

EOF

cd “$CDW}” echo -e “\nFinished creating basic GAE app layout.\n”

}}}

Display

servlet debe ser el mismo nombre que el jsp de welcome y que ruta patron. —- CategoryProgramacion