Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
0.6
-
None
-
Windows XP with Cygwin
Description
There's a bug in the forrest.bat file. The line that calls appendcp.bat, inside the for loop, is missing the quotes around the appendcp.bat path, i. e. it's currently:
for %%i in ("*.jar") do call %FORREST_HOME%\bin\appendcp.bat
"%FORREST_HOME%\..\..\lib\endorsed\%%i"
but it should be
for %%i in ("*.jar") do call "%FORREST_HOME%\bin\appendcp.bat"
"%FORREST_HOME%\..\..\lib\endorsed\%%i"
(line break and spaces added for clarity).
The original fails if, for example, you choose to install Forrest in to the Program Files tree.
Thanks,
Gary
for %%i in ("*.jar") do call %FORREST_HOME%\bin\appendcp.bat
"%FORREST_HOME%\..\..\lib\endorsed\%%i"
but it should be
for %%i in ("*.jar") do call "%FORREST_HOME%\bin\appendcp.bat"
"%FORREST_HOME%\..\..\lib\endorsed\%%i"
(line break and spaces added for clarity).
The original fails if, for example, you choose to install Forrest in to the Program Files tree.
Thanks,
Gary