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

源代码在线查看: jspc-using-launcher.sh

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

相关代码

				#!/bin/sh
				
				# -----------------------------------------------------------------------------
				#
				# Script for running JSPC compiler using the Launcher
				#
				# -----------------------------------------------------------------------------
				
				# Resolve links - $0 may be a softlink
				PRG="$0"
				
				while [ -h "$PRG" ]; do
				  ls=`ls -ld "$PRG"`
				  link=`expr "$ls" : '.*-> \(.*\)$'`
				  if expr "$link" : '.*/.*' > /dev/null; then
				    PRG="$link"
				  else
				    PRG=`dirname "$PRG"`/"$link"
				  fi
				done
				
				# Get standard environment variables
				PRGDIR=`dirname "$PRG"`
				if [ -r "$PRGDIR"/setenv.sh ]; then
				  . "$PRGDIR"/setenv.sh
				fi
				
				# Execute the Launcher using the "jspc" target
				exec "$JAVA_HOME"/bin/java -classpath "$PRGDIR" LauncherBootstrap -launchfile jasper.xml -verbose jspc "$@"
							

相关资源