Table of Contents
Building
This page describes how to build QWT from sources. If you are looking on how to create a QWT application, please refer to this section.
Prerequisites
- Java 5. Use
java -versionto verify. - Maven 2.0.6 or higher. Use
mvn -versionto verify. Please check the Java version issued by Maven and adjust JAVA_HOME if it is not Java 5. - Subversion 1.3 or higher. Use
svn –versionto verify. - Python 2.4 or higher (required by qooxdoo’s tool chain). Use
python -Vto verify.
Building
QWT supports a normal Maven multi-module build. The only thing special is that Maven needs extra heap space to build:
svn co https://qooxdoo-contrib.svn.sourceforge.net/svnroot/qooxdoo-contrib/trunk/qooxdoo-contrib/QWT/trunk qwt cd qwt export MAVEN_OPTS=-Xmx128m # or more mvn clean install
The build may need up to 15 minutes on a typical machine.
Distribution
To create a QWT distribution run
cd qwt mvn clean install -Ddist
Eclipse
To get an Eclipse file for QWT:
cd qwt/toolkitmvn eclipse:eclipse- Create an M2_REPO variable pointing to your
$HOME/.m2/repositorydirectory - Create a working set
QWT - Inside this working set, create a project for every module.
