Initial version of basic project task management application.

git-svn-id: https://samskivert.googlecode.com/svn/trunk@897 6335cc39-0255-0410-8fd6-9bcaacd3b74c
This commit is contained in:
mdb
2002-11-08 09:14:21 +00:00
parent ac48cced65
commit aa4c37541a
22 changed files with 1155 additions and 0 deletions
+1
View File
@@ -0,0 +1 @@
repository.properties
@@ -0,0 +1,6 @@
#
# $Id: exceptionmap.properties,v 1.1 2002/11/08 09:14:20 mdb Exp $
#
# Maps exceptions to friendly error messages
java.sql.SQLException: A database error has occurred: {m}
+37
View File
@@ -0,0 +1,37 @@
# -*- mode: makefile -*-
#
# $Id: messages.properties,v 1.1 2002/11/08 09:14:20 mdb Exp $
#
# Translation messages for Two Due application
#
# common translations
app_name=Two Due
#
# header.wm
header.combined_title={0}: {1}
header.title={0}
#
# app_footer.wm
app_footer.summary_link=Task Summary
app_footer.account_link=Login/out
#
# index.wm
index.title=Task Summary
index.message.task_created = Task created.
index.message.task_claimed = Task claimed.
index.message.task_completed = Task marked as completed.
index.error.missing_summary = No summary provided for new task.
index.error.missing_category = No category provided for new task.
index.error.missing_complexity = No complexity selection for new task.
index.error.invalid_priority = No priority selection for new task.
index.error.missing_taskid = Internal error. No task id provided.
+19
View File
@@ -0,0 +1,19 @@
#
# $Id: velocity.properties,v 1.1 2002/11/08 09:14:20 mdb Exp $
#
# Velocity engine configuration overrides
#----------------------------------------------------------------------------
# F O R E A C H P R O P E R T I E S
#----------------------------------------------------------------------------
# These properties control how the counter is accessed in the #foreach
# directive. By default the reference $velocityCount will be available
# in the body of the #foreach directive. The default starting value
# for this reference is 1.
#----------------------------------------------------------------------------
directive.foreach.counter.name = vidx
directive.foreach.counter.initial.value = 0
# temporarily make life easier
file.resource.loader.path = /home/mdb/projects/twodue/web
+47
View File
@@ -0,0 +1,47 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE web-app
PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN"
"http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">
<web-app>
<servlet>
<servlet-name>dispatcher</servlet-name>
<servlet-class>com.samskivert.velocity.DispatcherServlet</servlet-class>
<init-param>
<param-name>org.apache.velocity.properties</param-name>
<param-value>/velocity.properties</param-value>
</init-param>
<init-param>
<param-name>app_class</param-name>
<param-value>com.samskivert.twodue.TwoDueApp</param-value>
</init-param>
<init-param>
<param-name>logic_package</param-name>
<param-value>com.samskivert.twodue.logic</param-value>
</init-param>
<init-param>
<param-name>messages_path</param-name>
<param-value>messages</param-value>
</init-param>
<!--
<init-param>
<param-name>site_jar_path</param-name>
<param-value>/usr/share/java/webapps/site-data</param-value>
</init-param>
<init-param>
<param-name>site_messages_path</param-name>
<param-value>site_messages</param-value>
</init-param>
-->
</servlet>
<servlet-mapping>
<servlet-name>dispatcher</servlet-name>
<url-pattern>*.wm</url-pattern>
</servlet-mapping>
<welcome-file-list>
<welcome-file>index.wm</welcome-file>
</welcome-file-list>
</web-app>