Permalink
Browse files

Adding more to Invoice app sample

  • Loading branch information...
1 parent dac1858 commit 8a947048980d30661f6c7a6d119c45ba60ea8069 @matthewmccullough committed Apr 22, 2010
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="utf-8"?>
+<appengine-web-app xmlns="http://appengine.google.com/ns/1.0">
+ <application>ambientideasdemo1</application>
+ <version>1</version>
+
+ <!-- Configure java.util.logging -->
+ <system-properties>
+ <property name="java.util.logging.config.file" value="WEB-INF/logging.properties"/>
+ </system-properties>
+
+</appengine-web-app>
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="utf-8"?>
+<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+xmlns="http://java.sun.com/xml/ns/javaee"
+xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
+xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
+http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" version="2.5">
+ <display-name>Consultant Invoice Time Tracking</display-name>
+
+ <servlet>
+ <servlet-name>Quota</servlet-name>
+ <servlet-class>com.ambientideas.exercisegae.QuotaServlet</servlet-class>
+ </servlet>
+ <servlet-mapping>
+ <servlet-name>Quota</servlet-name>
+ <url-pattern>/quota</url-pattern>
+ </servlet-mapping>
+ <welcome-file-list>
+ <welcome-file>index.html</welcome-file>
+ </welcome-file-list>
+</web-app>
+
@@ -0,0 +1,27 @@
+# This was copied from the SDK's config/user/logging.properties file.
+#
+# To use this configuration, copy it into your application's WEB-INF
+# folder and add the following to your appengine-web.xml:
+#
+# <system-properties>
+# <property name="java.util.logging.config.file" value="WEB-INF/logging.properties"/>
+# </system-properties>
+#
+
+# Set the default logging level for all loggers to WARNING
+.level = WARNING
+
+# Set the default logging level for ORM, specifically, to WARNING
+DataNucleus.JDO.level=WARNING
+DataNucleus.Persistence.level=WARNING
+DataNucleus.Cache.level=WARNING
+DataNucleus.MetaData.level=WARNING
+DataNucleus.General.level=WARNING
+DataNucleus.Utility.level=WARNING
+DataNucleus.Transaction.level=WARNING
+DataNucleus.Datastore.level=WARNING
+DataNucleus.ClassLoading.level=WARNING
+DataNucleus.Plugin.level=WARNING
+DataNucleus.ValueGeneration.level=WARNING
+DataNucleus.Enhancer.level=WARNING
+DataNucleus.SchemaTool.level=WARNING
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="utf-8"?>
+<appengine-web-app xmlns="http://appengine.google.com/ns/1.0">
+ <application>ambientideasdemo1</application>
+ <version>1</version>
+
+ <!-- Configure java.util.logging -->
+ <system-properties>
+ <property name="java.util.logging.config.file" value="WEB-INF/logging.properties"/>
+ </system-properties>
+
+</appengine-web-app>
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="utf-8"?>
+<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+xmlns="http://java.sun.com/xml/ns/javaee"
+xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
+xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
+http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" version="2.5">
+ <display-name>Consultant Invoice Time Tracking</display-name>
+
+ <servlet>
+ <servlet-name>Quota</servlet-name>
+ <servlet-class>com.ambientideas.exercisegae.QuotaServlet</servlet-class>
+ </servlet>
+ <servlet-mapping>
+ <servlet-name>Quota</servlet-name>
+ <url-pattern>/quota</url-pattern>
+ </servlet-mapping>
+ <welcome-file-list>
+ <welcome-file>index.html</welcome-file>
+ </welcome-file-list>
+</web-app>
+
@@ -0,0 +1,27 @@
+# This was copied from the SDK's config/user/logging.properties file.
+#
+# To use this configuration, copy it into your application's WEB-INF
+# folder and add the following to your appengine-web.xml:
+#
+# <system-properties>
+# <property name="java.util.logging.config.file" value="WEB-INF/logging.properties"/>
+# </system-properties>
+#
+
+# Set the default logging level for all loggers to WARNING
+.level = WARNING
+
+# Set the default logging level for ORM, specifically, to WARNING
+DataNucleus.JDO.level=WARNING
+DataNucleus.Persistence.level=WARNING
+DataNucleus.Cache.level=WARNING
+DataNucleus.MetaData.level=WARNING
+DataNucleus.General.level=WARNING
+DataNucleus.Utility.level=WARNING
+DataNucleus.Transaction.level=WARNING
+DataNucleus.Datastore.level=WARNING
+DataNucleus.ClassLoading.level=WARNING
+DataNucleus.Plugin.level=WARNING
+DataNucleus.ValueGeneration.level=WARNING
+DataNucleus.Enhancer.level=WARNING
+DataNucleus.SchemaTool.level=WARNING
@@ -6,7 +6,7 @@ xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" version="2.5">
<servlet>
<servlet-name>Quota</servlet-name>
- <servlet-class>com.ambientideas.test1.QuotaServlet</servlet-class>
+ <servlet-class>com.ambientideas.exercisegae.QuotaServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>Quota</servlet-name>
View
@@ -9,18 +9,20 @@
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
- <title>Hello App Engine</title>
+
+ <title>App Engine Consulting Time Tracker</title>
</head>
<body>
- <h1>Welcome to the Ambient Ideas Google App Engine sample servlets.</h1>
-
+ <h1>Welcome to the Time Tracker!</h1>
+
<table>
<tr>
- <td colspan="2" style="font-weight:bold;">Available Servlets:</td>
+ <td colspan="2" style="font-weight:bold;">Available Features:</td>
</tr>
<tr>
- <td><a href="quota">Quota (Timing) Testing Servlet</a></td>
+ <td><a href="addTimeWorked">Add time worked.</a></td>
+ <td><a href="viewTimeWorked">View time worked.</a></td>
</tr>
</table>
</body>

0 comments on commit 8a94704

Please sign in to comment.