[kepler-dev] [Bug 4983] cannot run kepler.sh in RC2

bugzilla-daemon at ecoinformatics.org bugzilla-daemon at ecoinformatics.org
Fri May 28 12:17:52 PDT 2010


http://bugzilla.ecoinformatics.org/show_bug.cgi?id=4983

Sean Riddle <swriddle at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |swriddle at gmail.com

--- Comment #6 from Sean Riddle <swriddle at gmail.com> 2010-05-28 12:17:51 PDT ---
I have a script that works for kepler.sh. I haven't integrated it into the
startup-script target yet, though. It's attached below. Does anybody have a
problem with using /bin/bash instead of /bin/sh? It's a lot easier to robustly
get the location of the script with bash.


#!/bin/bash
# This script starts Kepler.
# Run with -h to see all command-line options.
# This script is auto-generated by the 'ant startupScript' command
#CURDIR=`pwd`
#cd $(dirname $0)
#echo `dirname $0`
CUR_DIR=`pwd`
SCRIPT_DIR=`dirname $BASH_SOURCE`
echo $SCRIPT_DIR
cd $SCRIPT_DIR
java -classpath build-area/lib/ant.jar:kepler.jar
org.kepler.build.runner.Kepler "$1" "$2" "$3" "$4" "$5" "$6" "$7" "$8" "$9"
echo $CUR_DIR
cd $CUR_DIR

-- 
Configure bugmail: http://bugzilla.ecoinformatics.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the Kepler-dev mailing list