Blame SOURCES/log4j-logfactor5.sh

1574a1
#!/bin/sh
1574a1
# 
1574a1
# LogFactor5 (log4j) startup script
1574a1
#
1574a1
# JPackage Project <http://www.jpackage.org/>
1574a1
# $Id$
1574a1
1574a1
# Source functions library
1574a1
if [ -f /usr/share/java-utils/java-functions ] ; then 
1574a1
  . /usr/share/java-utils/java-functions
1574a1
else
1574a1
  echo "Can't find functions library, aborting"
1574a1
  exit 1
1574a1
fi
1574a1
1574a1
# Configuration
1574a1
MAIN_CLASS=org.apache.log4j.lf5.StartLogFactor5
1574a1
BASE_JARS="log4j xml-commons-apis jaxp_parser_impl"
1574a1
1574a1
# Set parameters
1574a1
set_jvm
1574a1
set_classpath $BASE_JARS
1574a1
set_flags $BASE_FLAGS
1574a1
set_options $BASE_OPTIONS
1574a1
1574a1
# Let's start
1574a1
run "$@"