You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by TM...@s-s-t.com on 2002/05/01 22:58:27 UTC

catalina.sh & cygwin

Greetings:

Am using a the latest build of tomcat 4.0 on Win2K. Just started working
with tomcat today, pardon my lack of familiarity.

I changed the catalina.sh file as follows to get it to work under cygwin
(very recent version as well) because of minor bugs in the shell code. I
would like these changes to go in permanently so I don't have to redo them
later... ?


$ diff "c:\Programs\Tomcat40\bin\catalina.sh.old" "c:
\Programs\Tomcat40\bin\catalina.sh"
81a82
>
99,102c100,105
<   JAVA_HOME=`cygpath --path --windows "$JAVA_HOME"`
<   CATALINA_HOME=`cygpath --path --windows "$CATALINA_HOME"`
<   CLASSPATH=`cygpath --path --windows "$CLASSPATH"`
<   JSSE_HOME=`cygpath --path --windows "$JSSE_HOME"`
---
>   JAVA_HOME=`      cygpath --path --windows "$JAVA_HOME"`
>   CATALINA_HOME=`  cygpath --path --windows "$CATALINA_HOME"`
>   CLASSPATH=`      cygpath --path --windows "$CLASSPATH"`
>   JSSE_HOME=`      cygpath --path --windows "$JSSE_HOME"`
>   CATALINA_BASE=`  cygpath --path --windows "$CATALINA_BASE"`
>   CATALINA_TMPDIR=`cygpath --path --windows "$CATALINA_TMPDIR"`
187a191
>   mkdir -p "$CATALINA_BASE"/logs


thanx
troy


--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>