| # |
| # Copyright (c) 2004, 2018 Oracle and/or its affiliates. All rights reserved. |
| # |
| # This program and the accompanying materials are made available under the |
| # terms of the Eclipse Public License v. 2.0, which is available at |
| # http://www.eclipse.org/legal/epl-2.0. |
| # |
| # This Source Code may also be made available under the following Secondary |
| # Licenses when the conditions for such availability set forth in the |
| # Eclipse Public License v. 2.0 are satisfied: GNU General Public License, |
| # version 2 with the GNU Classpath Exception, which is available at |
| # https://www.gnu.org/software/classpath/license.html. |
| # |
| # SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 |
| # |
| |
| # |
| # * * * N O T E * * * |
| # |
| # Although the lines in this file are formatted as environment |
| # variable assignments, this file is NOT typically invoked as a script |
| # from another script to define these variables. Rather, this file is read |
| # and processed by a server as it starts up. That scanning code resolves |
| # the relative paths against the GlassFish installation directory. |
| # |
| # Yet, this file is also where users of earlier versions have sometimes added |
| # a definition of AS_JAVA to control which version of Java GlassFish |
| # should use. As a result, in order to run a user-specified version of Java, |
| # the asadmin and appclient scripts do indeed invoke this file as a |
| # script - but ONLY to define AS_JAVA. Any calling script should not |
| # rely on the other settings because the relative paths will be resolved |
| # against the current directory when the calling script is run, not the |
| # installation directory of GlassFish, and such resolution will not work |
| # correctly unless the script happens to be run from the GlassFish installation |
| # directory. |
| # |
| |
| AS_IMQ_LIB="../../mq/lib" |
| AS_IMQ_BIN="../../mq/bin" |
| AS_CONFIG="../config" |
| AS_INSTALL=".." |
| AS_DEF_DOMAINS_PATH="../domains" |
| AS_DEF_NODES_PATH="../nodes" |
| AS_DERBY_INSTALL="../../javadb" |