1.1. Software and Configuration

First of all you need the java webapp developers base pillars:

  1. Java SDK 1.6.x http://java.sun.com

  2. Eclipse 3.x http://www.eclipse.org

  3. MySQL http://www.mysql.org/downloads/mysql/5.0.html, please read the MySQL part in the techdocu for the setup OLAT Techdocu MySQL

  4. Tomcat 5.x or Tomcat 6.x http://tomcat.apache.org/ (scroll down -> Binary Distribution -> Core -> may be windows service installer )

  5. Maven 2.0.x or higher, only if you need to change or debug the olatcore project

Install those big things on your computer. Now you have to configure Eclipse 3.x to work together with the tomcat. Either you install the Sysdeo tomcat plugin or you use the eclipse Web Tools Platform WTP.

In this description we will use Eclipse 3.x together with WTP.

Follow these steps to have the Web Tools Platform (WTP) at your finger tips:

Further eclipse setup:

  1. check that you have a Servers entry under Window | Preferences

  2. activate Installed Runtimes and Add an Apache Tomcat runtime, configure it to fit your pathes.

  3. add a Server entry: add a new server by File | New | Other. Take the default value localhost for server and typically the preselected Apache tomcat for the server runtime.

  4. add TOMCAT_HOME classpath variable to the eclipse preferences (Window | Preferences | Java | Build Path | Classpath Variables)

So far you should have an eclipse with a tomcat at localhost configured server. But you are missing the OLAT source code. Let us then proceed to anonymously checkout the OLAT source from HEAD.