File cobertura-instrument.sh of Package cobertura

#!/bin/sh
#
# cobertura-instrument script
# JPackage Project (http://jpackage.sourceforge.net)

# Source functions library
. /usr/share/java-utils/java-functions

# Configuration
MAIN_CLASS=net.sourceforge.cobertura.instrument.Main
BASE_FLAGS=
BASE_JARS="cobertura objectweb-asm/asm objectweb-asm/asm-tree log4j jakarta-oro"

# Source system prefs
if [ -f /etc/cobertura-instrument.conf ] ; then
  . /etc/cobertura-instrument.conf
fi

# Source user prefs
if [ -f $HOME/.cobertura-instrumentrc ] ; then
  . $HOME/.cobertura-instrumentrc
fi

# Set parameters
set_jvm
set_classpath $BASE_JARS
set_flags $BASE_FLAGS
set_options $BASE_OPTIONS

# Let's start
run "$@"
openSUSE Build Service is sponsored by