From 62e120d50e7e52030fe919e9e396041ba158dea3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B1=E5=8B=87?= Date: Tue, 26 Sep 2023 15:16:42 +0800 Subject: [PATCH] Delete jspc.bat --- build/bes-appserver-lite-9.5.5/jspc.bat | 80 ------------------------- 1 file changed, 80 deletions(-) delete mode 100644 build/bes-appserver-lite-9.5.5/jspc.bat diff --git a/build/bes-appserver-lite-9.5.5/jspc.bat b/build/bes-appserver-lite-9.5.5/jspc.bat deleted file mode 100644 index 28731fd..0000000 --- a/build/bes-appserver-lite-9.5.5/jspc.bat +++ /dev/null @@ -1,80 +0,0 @@ -@echo off -@REM -@REM Copyright (c) 2018-2022 -@REM Beijing Baolande Software Corporation -@REM -@REM All Rights Reserved -@REM - -setlocal - -rem Guess BES_HOME if not defined -set "CURRENT_DIR=%cd%" -if not "%BES_HOME%" == "" goto validateBesHome -set "BES_HOME=%CURRENT_DIR%" -if exist "%BES_HOME%\bin\startserver.bat" goto rightBesHome -cd .. -set "BES_HOME=%cd%" -cd "%CURRENT_DIR%" - -:validateBesHome -if not exist "%BES_HOME%\bin\setenv.bat" goto errorBesHome -if not exist "%BES_HOME%\bin\setpatchenv.bat" goto errorBesHome -goto rightBesHome - -:errorBesHome -echo The BES_HOME environment variable is not defined correctly -echo This environment variable is needed to run this program -goto error - -:rightBesHome - -rem Copy BES_ROOT from BES_HOME if not defined -if not "%BES_ROOT%" == "" goto setBesRoot -set "BES_ROOT=%BES_HOME%" -:setBesRoot - -rem Ensure that neither BES_HOME nor BES_ROOT contains a semi-colon -rem as this is used as the separator in the classpath and Java provides no -rem mechanism for escaping if the same character appears in the path. Check this -rem by replacing all occurrences of ';' with '' and checking that neither -rem BES_HOME nor BES_ROOT have changed -if "%BES_HOME%" == "%BES_HOME:;=%" goto besHomeNoSemicolon -echo Unable to start as BES_HOME contains a semicolon (;) character -goto error - -:besHomeNoSemicolon - -if "%BES_ROOT%" == "%BES_ROOT:;=%" goto besRootNoSemicolon -echo Unable to start as BES_ROOT contains a semicolon (;) character -goto error -:besRootNoSemicolon - -set CLASSPATH= - -call "%BES_HOME%\bin\setenv.bat" -call "%BES_HOME%\bin\setpatchenv.bat" bootstrap - -set CLASSPATH=%CLASSPATH%;%BES_HOME%\lib\bes-jasper.jar -set CLASSPATH=%CLASSPATH%;%BES_HOME%\lib\bes-api.jar -set CLASSPATH=%CLASSPATH%;%BES_HOME%\lib\bes-el.jar -set CLASSPATH=%CLASSPATH%;%BES_HOME%\lib\bootstrap\bes-bootstrap.jar -set CLASSPATH=%CLASSPATH%;%BES_HOME%\lib\bes-core.jar -set CLASSPATH=%CLASSPATH%;%BES_HOME%\lib\bes-webapp-compressor.jar - -if "%PATCH_CLASSPATH%" == "" goto overSetPatchClassPath -set CLASSPATH=%PATCH_CLASSPATH%;%CLASSPATH% - -:overSetPatchClassPath - -%JAVA% %JAVA_OPTS% -cp "%CLASSPATH%" com.bes.enterprise.webtier.util.jsp.BESASJspC %* - -endlocal - -goto end - -:error -exit /b 1 - -:end -exit /b 0 \ No newline at end of file -- 2.26.0