#! /bin/sh
export CLASSPATH=core/chameria-launcher-1.5.0.jar:core/core-0.4.0.jar:core/logback-classic-0.9.24.jar:core/org.osgi.compendium-4.2.0.jar:core/logback-core-0.9.24.jar:core/org.apache.felix.framework-3.0.2.jar:core/slf4j-api-1.6.1.jar:qt/qtjambi-4.6.0-jnlp.jar:qt/qtjambi-util-4.6.0.jar

export DISPLAY=:20
JAVA32=/usr/lib/jvm/ia32-java-6-sun/bin/java
$JAVA32 -d32 -Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=9876 -Dchameleon.log.level=INFO -Dcom.trolltech.qt.library-path-override=qt/lib de.akquinet.chameria.launcher.Launcher --debug --config=conf/chameleon.properties  --deploy=deploy "$@" &
echo $! > /tmp/chameria.pid
