jspc revision ada1678a4262b208a7b87391f520a7767d25287c
3a9c3ec5357b36fc34766cb8166168311af3562frbb#!/bin/sh
71f891073f6fa0209870791f64cbbf28d77ffdc1brianp#
797d596a95d4f9900e83ec18295b4ca4951bf763jerenkrantz# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
797d596a95d4f9900e83ec18295b4ca4951bf763jerenkrantz#
797d596a95d4f9900e83ec18295b4ca4951bf763jerenkrantz# Copyright (c) 1997-2012 Oracle and/or its affiliates. All rights reserved.
5842e6b336b1cc0252b6cc2944dd81c7d3a19a1bbrianp#
5842e6b336b1cc0252b6cc2944dd81c7d3a19a1bbrianp# The contents of this file are subject to the terms of either the GNU
2532433e80d73506f7bcc18bd0dab686f1c39397minfrin# General Public License Version 2 only ("GPL") or the Common Development
2532433e80d73506f7bcc18bd0dab686f1c39397minfrin# and Distribution License("CDDL") (collectively, the "License"). You
2532433e80d73506f7bcc18bd0dab686f1c39397minfrin# may not use this file except in compliance with the License. You can
2532433e80d73506f7bcc18bd0dab686f1c39397minfrin# obtain a copy of the License at
c148bc6b4eea544af816783400362f741c5f5fc2trawick# https://glassfish.dev.java.net/public/CDDL+GPL_1_1.html
c148bc6b4eea544af816783400362f741c5f5fc2trawick# or packager/legal/LICENSE.txt. See the License for the specific
c148bc6b4eea544af816783400362f741c5f5fc2trawick# language governing permissions and limitations under the License.
9d432e23f6025b78322cbee43e8e89262a108e5eaaron#
9d432e23f6025b78322cbee43e8e89262a108e5eaaron# When distributing the software, include this License Header Notice in each
9d432e23f6025b78322cbee43e8e89262a108e5eaaron# file and include the License file at packager/legal/LICENSE.txt.
9d432e23f6025b78322cbee43e8e89262a108e5eaaron#
9d432e23f6025b78322cbee43e8e89262a108e5eaaron# GPL Classpath Exception:
9d432e23f6025b78322cbee43e8e89262a108e5eaaron# Oracle designates this particular file as subject to the "Classpath"
9d432e23f6025b78322cbee43e8e89262a108e5eaaron# exception as provided by Oracle in the GPL Version 2 section of the License
6a5bdbbacf4a62adecde52b8f23ebcc4fa2a08b8trawick# file that accompanied this code.
6a5bdbbacf4a62adecde52b8f23ebcc4fa2a08b8trawick#
6a5bdbbacf4a62adecde52b8f23ebcc4fa2a08b8trawick# Modifications:
10306ac2c175f420e6989568f4c8535a5dbc1349minfrin# If applicable, add the following below the License Header, with the fields
10306ac2c175f420e6989568f4c8535a5dbc1349minfrin# enclosed by brackets [] replaced by your own identifying information:
10306ac2c175f420e6989568f4c8535a5dbc1349minfrin# "Portions Copyright [year] [name of copyright owner]"
10306ac2c175f420e6989568f4c8535a5dbc1349minfrin#
b4e4d76bf454e1b603b410110356dbcf12f3bc42jim# Contributor(s):
b4e4d76bf454e1b603b410110356dbcf12f3bc42jim# If you wish your version of this file to be governed by only the CDDL or
b4e4d76bf454e1b603b410110356dbcf12f3bc42jim# only the GPL Version 2, indicate your decision by adding "[Contributor]
adb1e17ae7e1cf5cf4f8f2b07d3389cb55f4becetrawick# elects to include this software in this distribution under the [CDDL or GPL
adb1e17ae7e1cf5cf4f8f2b07d3389cb55f4becetrawick# Version 2] license." If you don't indicate a single choice of license, a
adb1e17ae7e1cf5cf4f8f2b07d3389cb55f4becetrawick# recipient has the option to distribute your version of this file under
71f891073f6fa0209870791f64cbbf28d77ffdc1brianp# either the CDDL, the GPL Version 2 or to extend the choice of license to
71f891073f6fa0209870791f64cbbf28d77ffdc1brianp# its licensees as provided above. However, if you add GPL Version 2 code
2864362ca8266097928e84f101010bdf814ffa08stoddard# and therefore, elected the GPL Version 2 license, then the option applies
2864362ca8266097928e84f101010bdf814ffa08stoddard# only if the new code is made subject to such option by the copyright
2864362ca8266097928e84f101010bdf814ffa08stoddard# holder.
2864362ca8266097928e84f101010bdf814ffa08stoddard#
2864362ca8266097928e84f101010bdf814ffa08stoddard
f51dbb1f5b66d94b5c190bfcd444aa73bdc2b176trawickAS_INSTALL=`dirname $0`/..
893c106ae59d8e96d921524b123ae26dea8ad37fgsteinAS_INSTALL_LIB=$AS_INSTALL/modules
893c106ae59d8e96d921524b123ae26dea8ad37fgsteinJSP_IMPL=$AS_INSTALL_LIB/javax.servlet.jsp.jar
893c106ae59d8e96d921524b123ae26dea8ad37fgsteinEL_IMPL=$AS_INSTALL_LIB/javax.el.jar
893c106ae59d8e96d921524b123ae26dea8ad37fgsteinJSTL_IMPL=$AS_INSTALL_LIB/javax.servlet.jsp.jstl.jar
3aa6444bcee4e9fc32ec8860d832ff83a15784efianhAS_LIB=$AS_INSTALL/lib
3aa6444bcee4e9fc32ec8860d832ff83a15784efianhJAVAEE_API=$AS_LIB/javaee.jar
e2bdfd25d9d0461e0a3ab18ceff2113215e3e115brianp
e2bdfd25d9d0461e0a3ab18ceff2113215e3e115brianpjava -cp "$JSP_IMPL:$JAVAEE_API:$AS_LIB" org.apache.jasper.JspC -sysClasspath "$JSP_IMPL:$EL_IMPL:$JSTL_IMPL:$JAVAEE_API:$AS_LIB" -schemas "/schemas/" -dtds "/dtds/" "$@"
e2bdfd25d9d0461e0a3ab18ceff2113215e3e115brianp
b9fe73991e7c592a634242a7e11f924689f58e1fgstein