Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Preface

This document is intended to help deployers setup a development environment for modifying the Scheduling Assistant. This is not technically required if you don't plan to make any changes; see the overlay documentation on how to quickly deploy an instance of the application with minimal changes.

Setup

The Scheduling Assistant is a multi-module Maven Java project. It's deliverables include a Web Application that is deployed in Apache Tomcat and a JSR-168 Portlet.

4 minute video demonstrating how to check out the source in Eclipse to get started developing: https://mywebspace.wisc.edu/npblair/jasig/jasig-sched-assist-developer-start.ogv

Quick start with Bedework

  1. Download Apache Tomcat 6, unpack. Edit server.xml to expose the HTTP connector on port 9080 (so as not to conflict with a Bedework Quickstart instance you may also have running locally on 8080).
  2. Check out the Scheduling Assistant source per the video.
  3. In the root of the project, copy build-SAMPLE.properties as build.properties and edit the tomcat.home property to match the root of your Tomcat 6 install.
  4. Navigate to sched-assist-war/src/main/resources, copy scheduling-assistant-SAMPLE.properties as scheduling-assistant.properties. Edit the properties to match your Bedework environment.
  5. In the root of the project, execute 'mvn package' to build the project. Since you are using Tomcat 6, you can activate the tomcat6 profile and get pre-compiled JSPs (run 'mvn package -P tomcat6')
  6. Open another terminal window, navigate to the Scheduling Assistant source root. Execute 'ant hsql' to start up an HSQLDB instance
  7. In the original terminal window, execute 'ant hsql-initialize-firstrun' to create the tables and sequences in the HSQLDB instance.
  8. Execute 'ant redeploy-war' to deploy the Scheduling Assistant war to your Tomcat install.
  9. Start Tomcat, and visit http://localhost:9080/scheduling-assistant/
  • No labels