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 or higher. 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 has 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
Eclipse
To get Eclipse files for QWT:
cd qwt/toolkitmvn eclipse:eclipse- Start Eclipse
- Create an M2_REPO variable pointing to your
$HOME/.m2/repositorydirectory - Create a working set
QWT - Inside this working set, create a Eclipse project for every module in the "qwt/toolkit" directory.
Distribution
To create a QWT distribution run
cd qwt mvn clean install -Ddist