1@echo off
2REM
3REM  DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
4REM
5REM  Copyright (c) 1997-2012 Oracle and/or its affiliates. All rights reserved.
6REM
7REM  The contents of this file are subject to the terms of either the GNU
8REM  General Public License Version 2 only ("GPL") or the Common Development
9REM  and Distribution License("CDDL") (collectively, the "License").  You
10REM  may not use this file except in compliance with the License.  You can
11REM  obtain a copy of the License at
12REM  https://glassfish.dev.java.net/public/CDDL+GPL_1_1.html
13REM  or packager/legal/LICENSE.txt.  See the License for the specific
14REM  language governing permissions and limitations under the License.
15REM
16REM  When distributing the software, include this License Header Notice in each
17REM  file and include the License file at packager/legal/LICENSE.txt.
18REM
19REM  GPL Classpath Exception:
20REM  Oracle designates this particular file as subject to the "Classpath"
21REM  exception as provided by Oracle in the GPL Version 2 section of the License
22REM  file that accompanied this code.
23REM
24REM  Modifications:
25REM  If applicable, add the following below the License Header, with the fields
26REM  enclosed by brackets [] replaced by your own identifying information:
27REM  "Portions Copyright [year] [name of copyright owner]"
28REM
29REM  Contributor(s):
30REM  If you wish your version of this file to be governed by only the CDDL or
31REM  only the GPL Version 2, indicate your decision by adding "[Contributor]
32REM  elects to include this software in this distribution under the [CDDL or GPL
33REM  Version 2] license."  If you don't indicate a single choice of license, a
34REM  recipient has the option to distribute your version of this file under
35REM  either the CDDL, the GPL Version 2 or to extend the choice of license to
36REM  its licensees as provided above.  However, if you add GPL Version 2 code
37REM  and therefore, elected the GPL Version 2 license, then the option applies
38REM  only if the new code is made subject to such option by the copyright
39REM  holder.
40REM
41
42
43set AS_INSTALL_LIB=%~dp0..\modules
44set JSP_IMPL=%AS_INSTALL_LIB%\javax.servlet.jsp.jar
45set EL_IMPL=%AS_INSTALL_LIB%\javax.el.jar
46set JSTL_IMPL=%AS_INSTALL_LIB%\javax.servlet.jsp.jstl.jar
47set AS_LIB=%~dp0..\lib
48set JAVAEE_API=%AS_LIB%\javaee.jar
49
50java -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/" %*
51