Installation and Deployment

Prerequisits

Environment

The variable CONCERN_HOME ist used by the build script. It is only referred to by the build instructions. So, it's up to you, wether you set it or not.

Unix / Linux

export CONCERN_HOME=<path to your concern installation>
export ANT_HOME=<path to your ant installation>
export JAVA_HOME=<path to your jdk installation>
export PATH=$PATH:$JAVA_HOME/bin:$ANT_HOME/bin
unset CLASSPATH

Windows

set CONCERN_HOME=<path to your concern installation>
set ANT_HOME=<path to your ant installation>
set JAVA_HOME=<path to your jdk installation>
set PATH=%PATH%;%JAVA_HOME%/bin;%ANT_HOME%/bin
set CLASSPATH=

Compile on Unix / Linux

cd $CONCERN_HOME
ant all dist

Modeller

The modeller can be started using a script:
$CONCERN_HOME/devel/dist/bin/cm.sh

Embedded Demo

The embedded demo comes with a Swing GUI. It requires nothing beside a relational database, that is supported by hibernate.
cd $CONCERN_HOME/embedded-demo
ant all dist
vi dist/etc/hibernate.cfg.xml
vi dist/etc/controller-hibernate.cfg.xml
Of course you can use the same database for both, the process data model and the controller. Start the demo by simply issuing
cd $CONCERN_HOME/embedded-demo
dist/bin/embedded-demo.sh

J2EE Demo

Automatic deployment is supported for JBoss only. However, you should be able to deploy it on Tomcat or any other J2EE compliant application server as well.
cd $CONCERN_HOME/j2ee-demo
cp etc/build.properties etc/custom-build.properties
vi etc/custom-build.properties
ant all deploy_jboss
You can access the demo by pointing your favourite browser to:
http://localhost:8080/engagement