path: root/aarch64/share/hadoop/httpfs/tomcat/bin/tool-wrapper.bat
diff options
Diffstat (limited to 'aarch64/share/hadoop/httpfs/tomcat/bin/tool-wrapper.bat')
1 files changed, 85 insertions, 0 deletions
diff --git a/aarch64/share/hadoop/httpfs/tomcat/bin/tool-wrapper.bat b/aarch64/share/hadoop/httpfs/tomcat/bin/tool-wrapper.bat
new file mode 100644
index 0000000..e1955b8
--- /dev/null
+++ b/aarch64/share/hadoop/httpfs/tomcat/bin/tool-wrapper.bat
@@ -0,0 +1,85 @@
+@echo off
+rem Licensed to the Apache Software Foundation (ASF) under one or more
+rem contributor license agreements. See the NOTICE file distributed with
+rem this work for additional information regarding copyright ownership.
+rem The ASF licenses this file to You under the Apache License, Version 2.0
+rem (the "License"); you may not use this file except in compliance with
+rem the License. You may obtain a copy of the License at
+rem http://www.apache.org/licenses/LICENSE-2.0
+rem Unless required by applicable law or agreed to in writing, software
+rem distributed under the License is distributed on an "AS IS" BASIS,
+rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+rem See the License for the specific language governing permissions and
+rem limitations under the License.
+if "%OS%" == "Windows_NT" setlocal
+rem ---------------------------------------------------------------------------
+rem Wrapper script for command line tools
+rem Environment Variable Prerequisites
+rem CATALINA_HOME May point at your Catalina "build" directory.
+rem TOOL_OPTS (Optional) Java runtime options used when the "start",
+rem "stop", or "run" command is executed.
+rem JAVA_HOME Must point at your Java Development Kit installation.
+rem JAVA_OPTS (Optional) Java runtime options used when the "start",
+rem "stop", or "run" command is executed.
+rem $Id: tool-wrapper.bat 1040555 2010-11-30 15:00:25Z rjung $
+rem ---------------------------------------------------------------------------
+rem Guess CATALINA_HOME if not defined
+if not "%CATALINA_HOME%" == "" goto gotHome
+if exist "%CATALINA_HOME%\bin\tool-wrapper.bat" goto okHome
+if exist "%CATALINA_HOME%\bin\tool-wrapper.bat" goto okHome
+echo The CATALINA_HOME environment variable is not defined correctly
+echo This environment variable is needed to run this program
+goto end
+rem Ensure that any user defined CLASSPATH variables are not used on startup,
+rem but allow them to be specified in setenv.bat, in rare case when it is needed.
+rem Get standard environment variables
+if exist "%CATALINA_HOME%\bin\setenv.bat" call "%CATALINA_HOME%\bin\setenv.bat"
+rem Get standard Java environment variables
+if exist "%CATALINA_HOME%\bin\setclasspath.bat" goto okSetclasspath
+echo Cannot find "%CATALINA_HOME%\bin\setclasspath.bat"
+echo This file is needed to run this program
+goto end
+call "%CATALINA_HOME%\bin\setclasspath.bat"
+rem Add on extra jar files to CLASSPATH
+rem Note that there are no quotes as we do not want to introduce random
+rem quotes into the CLASSPATH
+if "%CLASSPATH%" == "" goto noclasspath
+set "CLASSPATH=%CLASSPATH%;%CATALINA_HOME%\bin\bootstrap.jar;%BASEDIR%\lib\servlet-api.jar"
+goto okclasspath
+set "CLASSPATH=%CATALINA_HOME%\bin\bootstrap.jar;%BASEDIR%\lib\servlet-api.jar"
+rem Get remaining unshifted command line arguments and save them in the
+if ""%1""=="""" goto doneSetArgs
+goto setArgs
+%_RUNJAVA% %JAVA_OPTS% %TOOL_OPTS% -Djava.endorsed.dirs="%JAVA_ENDORSED_DIRS%" -classpath "%CLASSPATH%" -Dcatalina.home="%CATALINA_HOME%" org.apache.catalina.startup.Tool %CMD_LINE_ARGS%