upayavira 2003/10/18 11:52:19
Modified: . cocoon.bat cocoon.sh Log: Fixing error "Cannot find CatalogManager.properties" on startup of CLI. I don't have access to Unix. Can someone test this and confirm that it works. Run ./cocoon.sh cli -x cli.xconf, and if it generates a page without showing the error - the fix has worked. Revision Changes Path 1.16 +2 -2 cocoon-2.1/cocoon.bat Index: cocoon.bat =================================================================== RCS file: /home/cvs/cocoon-2.1/cocoon.bat,v retrieving revision 1.15 retrieving revision 1.16 diff -u -r1.15 -r1.16 --- cocoon.bat 8 Oct 2003 21:40:43 -0000 1.15 +++ cocoon.bat 18 Oct 2003 18:52:18 -0000 1.16 @@ -54,7 +54,7 @@ :gotHome if not "%COCOON_LIB%" == "" goto gotLib -set COCOON_LIB=%COCOON_HOME%\build\webapp\WEB-INF\lib +set COCOON_LIB=%COCOON_HOME%\build\webapp\WEB-INF\lib;%COCOON_HOME%\build\webapp\WEB-INF\classes :gotLib if not "%JETTY_PORT%" == "" goto gotJettyPort 1.8 +2 -2 cocoon-2.1/cocoon.sh Index: cocoon.sh =================================================================== RCS file: /home/cvs/cocoon-2.1/cocoon.sh,v retrieving revision 1.7 retrieving revision 1.8 diff -u -r1.7 -r1.8 --- cocoon.sh 2 May 2003 06:53:08 -0000 1.7 +++ cocoon.sh 18 Oct 2003 18:52:19 -0000 1.8 @@ -82,7 +82,7 @@ echo "$0: using $COCOON_WEBAPP_HOME as the webapp directory" if [ "$COCOON_LIB" = "" ] ; then - COCOON_LIB="$COCOON_WEBAPP_HOME/WEB-INF/lib" + COCOON_LIB="$COCOON_WEBAPP_HOME/WEB-INF/lib:$COCOON_WEBAPP_HOME/WEB-INF/classes" fi if [ "$JETTY_PORT" = "" ] ; then
