forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Omar Belhaj <>
Subject PATCH forrest.bat
Date Wed, 20 Nov 2002 09:11:21 GMT

Under Windows, when executing "forrest.bat seed" on a new directory on 
another drive
than the one where FORREST is installed (%FORREST_HOME%).
Execution fails with the following error:
D:\fdocs>forrest seed

Apache Forrest.  Run 'forrest -projecthelp' to list options

Exception in thread "main" java.lang.NoClassDefFoundError: 

The solution is to add the "/D" switch on the line where the command "cd" 
is executed
in the forrest.bat file.

before: cd "%FORREST_HOME%\lib\endorsed"

after: cd /D "%FORREST_HOME%\lib\endorsed"

This will also work in the case where both "FORREST_HOME" and the new dir 
to be seeded
are on the same drive.


View raw message