精通tomcat书籍原代码,希望大家共同学习

源代码在线查看: tool-wrapper-using-launcher.bat

软件大小: 26464 K
上传用户: zhangtaoai007
关键词: tomcat 书籍 代码
下载地址: 免注册下载 普通下载 VIP

相关代码

				@echo off
				if "%OS%" == "Windows_NT" setlocal
				
				rem ---------------------------------------------------------------------------
				rem
				rem Script for running the Catalina tool wrapper using the Launcher
				rem
				rem ---------------------------------------------------------------------------
				
				rem Get standard environment variables
				set PRG=%0
				if exist %PRG%\..\setenv.bat goto gotCmdPath
				rem %0 must have been found by DOS using the %PATH% so we assume that
				rem setenv.bat will also be found in the %PATH%
				goto doneSetenv
				:gotCmdPath
				call %PRG%\..\setenv.bat
				:doneSetenv
				
				rem Make sure prerequisite environment variables are set
				if not "%JAVA_HOME%" == "" goto gotJavaHome
				echo The JAVA_HOME environment variable is not defined
				echo This environment variable is needed to run this program
				goto end
				:gotJavaHome
				
				rem Get command line arguments and save them with the proper quoting
				set CMD_LINE_ARGS=
				:setArgs
				if ""%1""=="""" goto doneSetArgs
				set CMD_LINE_ARGS=%CMD_LINE_ARGS% %1
				shift
				goto setArgs
				:doneSetArgs
				
				rem Execute the Launcher using the "tool-wrapper" target
				"%JAVA_HOME%\bin\java.exe" -classpath %PRG%\..;"%PATH%";. LauncherBootstrap -launchfile catalina.xml -verbose tool-wrapper %CMD_LINE_ARGS%
				
				:end
							

相关资源