#!/bin/sh

#
# Copyright 1997-2009 Sun Microsystems, Inc.  All rights reserved.
# Use is subject to license terms.
#

AS_INSTALL=`dirname $0`/..
AS_INSTALL_LIB=$AS_INSTALL/modules
ANT_LIB=$AS_INSTALL_LIB/ant.jar
SERVLET_API=$AS_INSTALL_LIB/javax.servlet.jar
JSP_API=$AS_INSTALL_LIB/javax.servlet.jsp.jar
JSP_IMPL=$AS_INSTALL_LIB/jsp-impl.jar
EL_IMPL=$AS_INSTALL_LIB/el-impl.jar
JSTL_API=$AS_INSTALL_LIB/javax.servlet.jsp.jstl.jar
JSTL_IMPL=$AS_INSTALL_LIB/jstl-impl.jar
JSF_API=$AS_INSTALL_LIB/jsf-api.jar
JSF_IMPL=$AS_INSTALL_LIB/jsf-impl.jar
AS_LIB=$AS_INSTALL/lib

java -cp "$SERVLET_API:$JSP_API:$ANT_LIB:$JSTL_API:$JSF_API:$EL_IMPL:$JSP_IMPL:$AS_LIB" org.apache.jasper.JspC -sysClasspath "$SERVLET_API:$JSP_API:$JSP_IMPL:$JSTL_API:$JSTL_IMPL:$JSF_API:$JSF_IMPL:$ANT_LIB:$AS_LIB" -schemas "/schemas/" -dtds "/dtds/" "$@"

