From: Ritu S. <sf...@us...> - 2004-07-30 11:04:22
|
Update of /cvsroot/smartfrog/core/smartfrog/bin In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15959 Modified Files: setClassPath.bat setSFProperties.bat Log Message: Modified for using only one setClassPath file Index: setSFProperties.bat =================================================================== RCS file: /cvsroot/smartfrog/core/smartfrog/bin/setSFProperties.bat,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** setSFProperties.bat 29 Jul 2004 11:50:00 -0000 1.3 --- setSFProperties.bat 30 Jul 2004 11:04:14 -0000 1.4 *************** *** 1,3 **** ! echo off rem general properties --- 1,3 ---- ! @echo off rem general properties *************** *** 6,9 **** --- 6,11 ---- set CODEBASE="http://%SERVER%/sfExamples.jar" + set SFLIBPATH=%SFHOME%\lib + rem ------------------------------------------------------ rem SF ENV PROPERTIES - Please edit with your preferences *************** *** 17,27 **** rem ------------------------------------------------------ - rem set SFCMDPARAMETERS= - if defined SFSECURITY set SFCMDPARAMETERS=%SFCMDPARAMETERS% %SFSECURITY% if defined SFDEFAULTINI set SFCMDPARAMETERS=%SFCMDPARAMETERS% %SFDEFAULTINI% if defined SFCODEBASE set SFCMDPARAMETERS=%SFCMDPARAMETERS% %SFCODEBASE% ! if not defined SFSECURITY call "%SFHOME%\bin\setClassPath" ! if defined SFSECURITY call "%SFHOME%\bin\setsecurityClassPath" --- 19,29 ---- rem ------------------------------------------------------ if defined SFSECURITY set SFCMDPARAMETERS=%SFCMDPARAMETERS% %SFSECURITY% if defined SFDEFAULTINI set SFCMDPARAMETERS=%SFCMDPARAMETERS% %SFDEFAULTINI% if defined SFCODEBASE set SFCMDPARAMETERS=%SFCMDPARAMETERS% %SFCODEBASE% ! if defined SFSECURITY set SFLIBPATH=%SFHOME%\signedLib ! ! call "%SFHOME%\bin\setClassPath" ! Index: setClassPath.bat =================================================================== RCS file: /cvsroot/smartfrog/core/smartfrog/bin/setClassPath.bat,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** setClassPath.bat 30 Jan 2004 00:10:02 -0000 1.1.1.1 --- setClassPath.bat 30 Jul 2004 11:04:14 -0000 1.2 *************** *** 10,14 **** set cd= for /f "tokens=*" %%i in ( ! 'dir /s /b "%SFHOME%\lib\*.jar"' ) do call :add2path %%i rem set CLASSPATH --- 10,14 ---- set cd= for /f "tokens=*" %%i in ( ! 'dir /s /b "%SFLIBPATH%\*.jar"' ) do call :add2path %%i rem set CLASSPATH *************** *** 26,31 **** if not defined SFUSERHOME goto continue2 ! CALL "%SFHOME%\bin\setUserClassPath.bat" :continue2 ! if defined srcDir set CLASSPATH=%srcDir%;%classpath% \ No newline at end of file --- 26,33 ---- if not defined SFUSERHOME goto continue2 ! set SFLIBPATH=%SFUSERHOME% ! set SFUSERHOME= ! CALL "%SFHOME%\bin\setClassPath.bat" :continue2 ! if defined srcDir set CLASSPATH=%srcDir%;%classpath% |