Re: Cygwin Path for Tomcat 4.0.4

2002-07-18 Thread Patrick Luby

Boon,

I have committed your patch to both the HEAD and 4.0 branch of Tomcat.

Patrick

Boon Hian Tek wrote:
> Hi,
> 
> I am not sure if everyone else's configuration for cygwin is different.
> But I had to change the catalina.sh so that it converts the
> CATALINA_BASE to windows format path before it will work.
> 
> 
> # For Cygwin, switch paths to Windows format before running java
> if $cygwin; then
>   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"`
> fi
> 
> 
> 
> # For Cygwin, switch paths to Windows format before running java
> if $cygwin; then
>   JAVA_HOME=`cygpath --path --windows "$JAVA_HOME"`
>   CATALINA_HOME=`cygpath --path --windows "$CATALINA_HOME"`
>   CATALINA_BASE=`cygpath --path --windows "$CATALINA_BASE"`
>   CLASSPATH=`cygpath --path --windows "$CLASSPATH"`
>   JSSE_HOME=`cygpath --path --windows "$JSSE_HOME"`
> fi
> 
> 
> Regards,
> 
> Boon
> 


-- 

Patrick Luby Email: [EMAIL PROTECTED]
Sun Microsystems Phone: 408-276-7471
901 San Antonio Road, USCA14-303
Palo Alto, CA 94303-4900



--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Cygwin Path for Tomcat 4.0.4

2002-07-12 Thread Boon Hian Tek

Hi,

I am not sure if everyone else's configuration for cygwin is different.
But I had to change the catalina.sh so that it converts the
CATALINA_BASE to windows format path before it will work.


# For Cygwin, switch paths to Windows format before running java
if $cygwin; then
  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"`
fi



# For Cygwin, switch paths to Windows format before running java
if $cygwin; then
  JAVA_HOME=`cygpath --path --windows "$JAVA_HOME"`
  CATALINA_HOME=`cygpath --path --windows "$CATALINA_HOME"`
  CATALINA_BASE=`cygpath --path --windows "$CATALINA_BASE"`
  CLASSPATH=`cygpath --path --windows "$CLASSPATH"`
  JSSE_HOME=`cygpath --path --windows "$JSSE_HOME"`
fi


Regards,

Boon