I don't have the tomcat.bat in front of me, but instead of
trying to build the classpath based on TURBINE_HOME, then
.\lib then ..\lib, would it be feasible to do the following:

for %%i in (%0\..\..\lib\*.jar) do call %0\..\cpappend %%i
:: etc - with the other classpath that gets added.

This works in Windows 9x and NT.

This has two benefits:
- TOMCAT_HOME (or TDK_HOME, or whatever) doesn't have to be
the current directory to startup - call startup.bat from
wherever you want.
- Fewer problems where people already have another
conflicting version of Tomcat installed - the classpath is
based on the location of the bat file that started it,
rather than TOMCAT_HOME.

I'm aware that this is really more an issue with Tomcat than
the TDK, but don't know if making that recommendation to the
Tomcat list folks is appropriate.

I have tested this LIGHTLY, and everything seems to start up
and run initially, but I didn't double-check to make sure
relative paths out of TR.props, etc., are still functioning
properly (like log locations, etc.)

Will Stranathan


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

Reply via email to