rpms/selenium-remote-control/devel selenium-server.script,NONE,1.1

Lubomir Rintel lkundrak at fedoraproject.org
Tue Jan 5 09:44:51 UTC 2010


Author: lkundrak

Update of /cvs/pkgs/rpms/selenium-remote-control/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv10555/devel

Added Files:
	selenium-server.script 
Log Message:
Add missing launcher


--- NEW FILE selenium-server.script ---
#!/bin/bash
# 
# Selenium Server script
# Lubomir Rintel (GoodData) <lubo.rintel at gooddata.com>

# Source functions library
if [ -f /usr/share/java-utils/java-functions ] ; then 
  . /usr/share/java-utils/java-functions
else
  echo "Can't find functions library, aborting"
  exit 1
fi

# Load system-wide configuration
if [ -f /etc/selenium-server.conf ]; then
  . /etc/selenium-server.conf
fi

# Load user configuration
if [ -f "$HOME/.selenium-serverrc" ]; then
  . "$HOME/.selenium-serverrc"
fi

# Rest of the configuration
MAIN_CLASS=org.openqa.selenium.server.SeleniumServer

BASE_JARS="$BASE_JARS ant"
BASE_JARS="$BASE_JARS commons-logging"
BASE_JARS="$BASE_JARS selenium-core"
BASE_JARS="$BASE_JARS selenium-server-coreless"
BASE_JARS="$BASE_JARS servlet"

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

# Let's start
run "$@"




More information about the fedora-extras-commits mailing list