tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hans Bergsten <h...@gefionsoftware.com>
Subject Re: Windows batch files for Tomcat 3.2
Date Sun, 03 Sep 2000 20:28:10 GMT
Larry Isaacs wrote:
> [...] It would be nice not to give up the
> dynamic CLASSPATH completely for Win9x systems.

I just come to think of a way to do this that only forces a static
path where it's really needed without testing which OS it is.

Change cpappend.bat to set a different environment variable than
CP, for instance LIBS. Then in tomcat.bat you can run "for" and test 
if LIBS has a value at all. If it does, add it to CP, if not add all 
JAR files statically to CP.

Hans
-- 
Hans Bergsten		hans@gefionsoftware.com
Gefion Software		http://www.gefionsoftware.com

Mime
View raw message