Skip to content

Instantly share code, notes, and snippets.

@vinilios
Created May 4, 2010 23:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vinilios/390167 to your computer and use it in GitHub Desktop.
Save vinilios/390167 to your computer and use it in GitHub Desktop.
#Shell script for KDE launching CopperCore
DIRNAME=`dirname $0`
DIRNAME=`cd $DIRNAME; pwd`
PROGNAME=`basename $0`
# Add the CopperCore.properties to the class path
JBOSS_CLASSPATH="$DIRNAME:"
export JBOSS_CLASSPATH
# Setup file prefix for configuration
JAVA_OPTS="-Dcoppercore.prefix=$DIRNAME/ -Dccsi.configuration=$DIRNAME/ccsi.xml"
export JAVA_OPTS
# Launch JBoss
$DIRNAME/jboss-4.0.4.GA/bin/run.sh $*
exit 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment