jspc revision ada1678a4262b208a7b87391f520a7767d25287c
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein#!/bin/sh
11e9368a226272085c337e9e74b79808c16fbdbaTinderbox User#
75c0816e8295e180f4bc7f10db3d0d880383bc1cMark Andrews# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein#
4a14ce5ba00ab7bc55c99ffdcf59c7a4ab902721Automatic Updater# Copyright (c) 1997-2012 Oracle and/or its affiliates. All rights reserved.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein#
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# The contents of this file are subject to the terms of either the GNU
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# General Public License Version 2 only ("GPL") or the Common Development
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# and Distribution License("CDDL") (collectively, the "License"). You
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# may not use this file except in compliance with the License. You can
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# obtain a copy of the License at
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# https://glassfish.dev.java.net/public/CDDL+GPL_1_1.html
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# or packager/legal/LICENSE.txt. See the License for the specific
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# language governing permissions and limitations under the License.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein#
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# When distributing the software, include this License Header Notice in each
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# file and include the License file at packager/legal/LICENSE.txt.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein#
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# GPL Classpath Exception:
cd32f419a8a5432fbb139f56ee73cbf68b9350ccTinderbox User# Oracle designates this particular file as subject to the "Classpath"
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User# exception as provided by Oracle in the GPL Version 2 section of the License
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt# file that accompanied this code.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein#
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# Modifications:
cd32f419a8a5432fbb139f56ee73cbf68b9350ccTinderbox User# If applicable, add the following below the License Header, with the fields
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# enclosed by brackets [] replaced by your own identifying information:
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# "Portions Copyright [year] [name of copyright owner]"
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein#
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# Contributor(s):
cd32f419a8a5432fbb139f56ee73cbf68b9350ccTinderbox User# If you wish your version of this file to be governed by only the CDDL or
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# only the GPL Version 2, indicate your decision by adding "[Contributor]
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# elects to include this software in this distribution under the [CDDL or GPL
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# Version 2] license." If you don't indicate a single choice of license, a
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# recipient has the option to distribute your version of this file under
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews# either the CDDL, the GPL Version 2 or to extend the choice of license to
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews# its licensees as provided above. However, if you add GPL Version 2 code
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# and therefore, elected the GPL Version 2 license, then the option applies
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# only if the new code is made subject to such option by the copyright
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# holder.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein#
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox UserAS_INSTALL=`dirname $0`/..
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox UserAS_INSTALL_LIB=$AS_INSTALL/modules
14a656f94b1fd0ababd84a772228dfa52276ba15Evan HuntJSP_IMPL=$AS_INSTALL_LIB/javax.servlet.jsp.jar
14a656f94b1fd0ababd84a772228dfa52276ba15Evan HuntEL_IMPL=$AS_INSTALL_LIB/javax.el.jar
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox UserJSTL_IMPL=$AS_INSTALL_LIB/javax.servlet.jsp.jstl.jar
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox UserAS_LIB=$AS_INSTALL/lib
14a656f94b1fd0ababd84a772228dfa52276ba15Evan HuntJAVAEE_API=$AS_LIB/javaee.jar
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Huntjava -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/" "$@"
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt