diff --git a/tools/java/data/README b/tools/java/data/README new file mode 100644 index 000000000..099cbf71e --- /dev/null +++ b/tools/java/data/README @@ -0,0 +1,15 @@ +How to install the Appengine SDK to the Maven local repository? +Note that this needs to be done only once. + $ mvn gae:unpack + Note that you don't need to manually download any SDK. + +How to generate the WAR? +Note that this must be done before running the webapp locally and before +deploying it to Appengine. + $ mvn war:war + +How to run the webapp locally? + $ mvn gae:run + +How to deploy the webapp to Appengine? + $ mvn gae:update diff --git a/tools/java/data/pom.xml b/tools/java/data/pom.xml index 0334282a3..a643a65cb 100644 --- a/tools/java/data/pom.xml +++ b/tools/java/data/pom.xml @@ -12,6 +12,20 @@ 1.0-SNAPSHOT Libphonenumber Data tools + + 1.5.4 + + + + + mvnrepository + http://mvnrepository.com/artifact/ + + true + + + + junit @@ -30,6 +44,20 @@ src test + + org.apache.maven.plugins + maven-compiler-plugin + 2.3.2 + + 1.6 + 1.6 + + + + net.kindleit + maven-gae-plugin + 0.9.1 + org.apache.maven.plugins maven-assembly-plugin diff --git a/tools/java/data/webapp/WEB-INF/appengine-web.xml b/tools/java/data/webapp/WEB-INF/appengine-web.xml new file mode 100644 index 000000000..2f2175b53 --- /dev/null +++ b/tools/java/data/webapp/WEB-INF/appengine-web.xml @@ -0,0 +1,8 @@ + + + libphonenumber-combine-geodata + 1 + + + + diff --git a/tools/java/data/webapp/WEB-INF/logging.properties b/tools/java/data/webapp/WEB-INF/logging.properties new file mode 100644 index 000000000..0c2ea51bc --- /dev/null +++ b/tools/java/data/webapp/WEB-INF/logging.properties @@ -0,0 +1,13 @@ +# A default java.util.logging configuration. +# (All App Engine logging is through java.util.logging by default). +# +# To use this configuration, copy it into your application's WEB-INF +# folder and add the following to your appengine-web.xml: +# +# +# +# +# + +# Set the default logging level for all loggers to WARNING +.level = WARNING