You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Gunnar Brading <gu...@astrogator.se> on 2005/09/12 15:01:04 UTC

Cygwin and $CATALINA_HOME/bin/setclasspath.sh

When installing the tar-version of 5.5.11, an dusing Cygwin, I get a 
problem with the execution of setclasspath.sh. It uses test ([) to 
verify that it
can find itself as an executable at $BASEDIR/bin. I then got the error 
that BASEDIR was not set correctly. That seems to be due to the fact 
that seems to have this idea that no files are executable unless they 
either are DLL's, EXE's or start with #!.

I added #!/bin/sh to the beginning of setclasspath.sh and the problems 
went away. I hope this might be useful.

Cheers,
-- Gunnar

-- 

 Gunnar Brading, Astrogator AB
 Email;   gunnar@astrogator.se
 Address; Rorstrandsgatan 30A
          113 40 STOCKHOLM
 Office:  +46 8 5456 0010
 Fax:     +46 8 5456 0011
 Mobile:  +46 70 778 2 877