Given that I got caught out by the requirement to launch "run.sh" from within the 
"bin" directory in the "dist" directory, here is a patch to "res/run.sh" to present a 
more helpful error message if someone else falls in the same trap:

Index: res/run.sh
===================================================================
RCS file: /products/cvs/master/james/res/run.sh,v
retrieving revision 1.9
diff -r1.9 run.sh
13a14,22
> if [ ! -f Loader.jar ] ; then
>   echo "ERROR: Loader.jar not found."
>   echo
>   echo "Please execute this 'run.sh' script from within the 'bin' directory"
>   echo "by moving to the 'bin' directory and issuing the command:"
>   echo "   ./run.sh"
>   exit 1
> fi
> 

Stuart.

-------------------------------------------------------------------------
Stuart Roebuck, BSc, MBA        Tel.: 0131 228 4853 / Fax.: 0870 054 8322
Managing Director                       Alpha Numeric Pager: 07654 588898
ADOLOS                                             http://www.adolos.com/

------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives:  <http://www.mail-archive.com/james%40list.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]

Reply via email to