The .bat files in the distribution doesn't work on my Win2K
machine.  The follwing is my modified files:


C:\app\velocity-1.3\examples\app_example1>cat *.bat
@echo off

set VELCP=.

for %%i in (..\..\*.jar)           do call :set_VELCP %%i
for %%i in (..\..\bin\*.jar)       do call :set_VELCP %%i
for %%i in (..\..\build\lib\*.jar) do call :set_VELCP %%i

echo Using classpath:  %VELCP%

java -cp %VELCP% Example example.vm


:set_VELCP
set VELCP=%VELCP%;%1






C:\app\velocity-1.3\examples\app_example2>cat *bat
@echo off

set VELCP=.
for %%i in (..\..\*.jar)           do call :set_VELCP %%i
for %%i in (..\..\bin\*.jar)       do call :set_VELCP %%i
for %%i in (..\..\build\lib\*.jar) do call :set_VELCP %%i

echo Using classpath:  %VELCP%

java -cp %VELCP% Example2


:set_VELCP
set VELCP=%VELCP%;%1








C:\app\velocity-1.3\examples\xmlapp_example>cat *.bat
@echo off

set VELCP=%CLASSPATH%;.
for %%i in (..\..\*.jar)           do call :set_VELCP %%i
for %%i in (..\..\bin\*.jar)       do call :set_VELCP %%i
for %%i in (..\..\build\lib\*.jar) do call :set_VELCP %%i

echo Using classpath:  %VELCP%

java -cp %VELCP% XMLTest xml.vm


:set_VELCP
set VELCP=%VELCP%;%1










__________________________________________________
Do You Yahoo!?
Yahoo! Autos - Get free new car price quotes
http://autos.yahoo.com

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to