***************
README.TXT
***************
This file contains information for deploying project
SchedulerV2, which is assignment A10 for CISC474 by
Brian Hermann, Brian Sheehan, Brian Johnson, Bill Meehan, Graham Becker.

*****************
PROJECT DEMO
*****************
 A running example of the project can be found at the 
following url:

http://porsche.cis.udel.edu:8118/SchedulerV2/login.html

The pre-generated javadoc for the java source files
can be found at the following url:

http://porsche.cis.udel.edu:8118/SchedulerV2/javadoc


******************
USING THE SERVLET
******************
The servlet allows the user to create a new account
if they dont already have one.  They can then log in and
enter their schedule into the system or clear their existing 
schedule and enter a new one.  They can also choose to view
the schedules of other users as entered by them.
Finally the main feature of this webapp is for the user to
find common free times between multiple user's schedules.
They can go to the free time finder and select as many or few
of the users in the system to find common free time for.

************************** 
BUILD AND DEPLOY OPTIONS
**************************
To view a menu of project options, from the project 
root folder simply type:
>ant

OR

>ant menu

The first step in deploying this servlet is to modify
the "global.properties" file found in the project 
root directory.

Depending on the location of your tomcat files the first 
two lines of the file:
	porsche.tomcat.jar=
	and
	porsche.tomcat.dir=
will need to be modified to match your setup.

Additionally, "porsche.javadoc.destination="
will also need to be changed to the location you wish
the javadoc to be located when it is deployed.

The same is true for "porsche.war.destination="
This is the location the .war file will be deployed to.
It should end in "/tomcat/webapps".

*************************************
CREATING AND POPULATING THE DATABASE
*************************************
Finally to create and populate the required database
that accompanies this project the file Games.sql can be
used as such on the command line:

>mysql -p < scheduler.sql

This command will prompt the user for a password.
If populating the default database, the password is
"hermann".

If you wish to use a different database you must modify the
scheduler.sql file.  Simply change the first command statement
to read "use xxxxx" where the xxxx represents the name of
the database you want to use.  However this is not reccomended
because the file web.xml located in the /etc folder will then
also need to be modified for jdbc url, use, and password.
