Commits

jata committed 17b0ed4

Initial commit

Comments (0)

Files changed (17)

+syntax: glob
+
+# Eclipse
+.classpath
+.project
+.settings
+
+# classes
+war/WEB-INF/classes
+
+### EOF

src/META-INF/jdoconfig.xml

+<?xml version="1.0" encoding="utf-8"?>
+<jdoconfig xmlns="http://java.sun.com/xml/ns/jdo/jdoconfig"
+   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+   xsi:noNamespaceSchemaLocation="http://java.sun.com/xml/ns/jdo/jdoconfig">
+
+   <persistence-manager-factory name="transactions-optional">
+       <property name="javax.jdo.PersistenceManagerFactoryClass"
+           value="org.datanucleus.store.appengine.jdo.DatastoreJDOPersistenceManagerFactory"/>
+       <property name="javax.jdo.option.ConnectionURL" value="appengine"/>
+       <property name="javax.jdo.option.NontransactionalRead" value="true"/>
+       <property name="javax.jdo.option.NontransactionalWrite" value="true"/>
+       <property name="javax.jdo.option.RetainValues" value="true"/>
+       <property name="datanucleus.appengine.autoCreateDatastoreTxns" value="true"/>
+   </persistence-manager-factory>
+</jdoconfig>

src/log4j.properties

+# A default log4j configuration for log4j users.
+#
+# To use this configuration, deploy it into your application's WEB-INF/classes
+# directory.  You are also encouraged to edit it as you like.
+
+# Configure the console as our one appender
+log4j.appender.A1=org.apache.log4j.ConsoleAppender
+log4j.appender.A1.layout=org.apache.log4j.PatternLayout
+log4j.appender.A1.layout.ConversionPattern=%d{HH:mm:ss,SSS} %-5p [%c] - %m%n
+
+# tighten logging on the DataNucleus Categories
+log4j.category.DataNucleus.JDO=WARN, A1
+log4j.category.DataNucleus.Persistence=WARN, A1
+log4j.category.DataNucleus.Cache=WARN, A1
+log4j.category.DataNucleus.MetaData=WARN, A1
+log4j.category.DataNucleus.General=WARN, A1
+log4j.category.DataNucleus.Utility=WARN, A1
+log4j.category.DataNucleus.Transaction=WARN, A1
+log4j.category.DataNucleus.Datastore=WARN, A1
+log4j.category.DataNucleus.ClassLoading=WARN, A1
+log4j.category.DataNucleus.Plugin=WARN, A1
+log4j.category.DataNucleus.ValueGeneration=WARN, A1
+log4j.category.DataNucleus.Enhancer=WARN, A1
+log4j.category.DataNucleus.SchemaTool=WARN, A1

war/WEB-INF/appengine-web.xml

+<?xml version="1.0" encoding="utf-8"?>
+<appengine-web-app xmlns="http://appengine.google.com/ns/1.0">
+	<application>www-datum-nu</application>
+	<version>30</version>
+	
+	<!-- Configure java.util.logging -->
+	<system-properties>
+		<property name="java.util.logging.config.file" value="WEB-INF/logging.properties"/>
+	</system-properties>
+	
+</appengine-web-app>
Add a comment to this file

war/WEB-INF/lib/appengine-api-1.0-sdk-1.5.2.jar

Binary file added.

Add a comment to this file

war/WEB-INF/lib/appengine-api-labs-1.5.2.jar

Binary file added.

Add a comment to this file

war/WEB-INF/lib/appengine-jsr107cache-1.5.2.jar

Binary file added.

Add a comment to this file

war/WEB-INF/lib/datanucleus-appengine-1.0.9.final.jar

Binary file added.

Add a comment to this file

war/WEB-INF/lib/datanucleus-core-1.1.5.jar

Binary file added.

Add a comment to this file

war/WEB-INF/lib/datanucleus-jpa-1.1.5.jar

Binary file added.

Add a comment to this file

war/WEB-INF/lib/geronimo-jpa_3.0_spec-1.1.1.jar

Binary file added.

Add a comment to this file

war/WEB-INF/lib/geronimo-jta_1.1_spec-1.1.1.jar

Binary file added.

Add a comment to this file

war/WEB-INF/lib/jdo2-api-2.3-eb.jar

Binary file added.

Add a comment to this file

war/WEB-INF/lib/jsr107cache-1.1.jar

Binary file added.

war/WEB-INF/logging.properties

+# 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:
+# 
+# <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

war/WEB-INF/web.xml

+<?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">
+	<welcome-file-list>
+		<welcome-file>today.jsp</welcome-file>
+	</welcome-file-list>
+</web-app>
+<%@ page contentType="text/html;charset=UTF-8" language="java" %>
+<%@ page import="java.util.TimeZone" %>
+<%@ page import="java.util.Locale" %>
+<%@ page import="java.util.GregorianCalendar" %>
+<%@ page import="java.util.Date" %>
+<%@ page import="java.text.SimpleDateFormat" %>
+<%
+TimeZone tz = TimeZone.getTimeZone("Europe/Stockholm");
+Locale sweden = new Locale("sv", "SE");
+GregorianCalendar calendar = new GregorianCalendar(tz, sweden);
+SimpleDateFormat sweFormat = new SimpleDateFormat("d MMMM yyyy", sweden);
+sweFormat.setTimeZone(tz);
+SimpleDateFormat sweWeekFormat = new SimpleDateFormat("EEEE 'vecka' w", sweden);
+sweWeekFormat.setTimeZone(tz);
+
+Date now = new Date();
+calendar.setTime(now);
+
+%>
+<html>
+ <head>
+ 	<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
+   	<title>Datum nu</title>
+   	<style type="text/css">p{font-family:Arial;font-size:100pt;line-height:100pt;font-weight:bold;}</style>
+   	<meta property="fb:page_id" content="189427604429571" />
+ </head>
+ <body bgcolor="#90C0DE" text="#066EB0">
+   <table width="100%" height="100%"><tr><td align=center><b><p><span title="<%= sweWeekFormat.format(calendar.getTime()) %>"><%= sweFormat.format(calendar.getTime()) %></b></td></tr></table>
+<script type="text/javascript">
+var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
+document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
+</script>
+<script type="text/javascript">
+try {
+var pageTracker = _gat._getTracker("UA-8793015-1");
+pageTracker._trackPageview();
+} catch(err) {}</script>
+   </body>
+</html>
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.