Developer Guide

From OpenKM Documentation
Revision as of 22:12, 25 January 2010 by Pavila (talk | contribs) (Recomendations)

Jump to: navigation, search

The developer environment can be set in any Operating System (Linux, Windows, etc.) since it is a multi-platform system, but Linux is recommended, because is what it is being used.

You need to install Maven, eclipse IDE and some plugins.

For OpenKM 4.0 and 5.0

Configuring maven

Refer to maven installation at http://maven.apache.org/download.html#Installation

Really we'll use maven in operating system console only for some special operations like installing external libraries.

In GNU Linux Ubuntu for example you could be good adding it in $HOME/.bashrc

export PATH=$PATH:/home/jllort/software/apache-maven-2.2.1/bin

Installing external libraries to maven repository

Open an operating system console. Go to your OpenKM project path in your file system. Come into ext-libs and execute install.sh ( Windows users simply open this file with text editor and execute the command )

Execute packaging

In Eclipe select openkm root folder. Open contextual menu and select Run As / Maven Package OpenKM.War it'll be appears created under target folder

Okm dev guide 006.jpeg