354N/AREM
354N/AREM DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
354N/AREM
354N/AREM Copyright (c) 2004-2010 Oracle and/or its affiliates. All rights reserved.
354N/AREM
354N/AREM The contents of this file are subject to the terms of either the GNU
354N/AREM General Public License Version 2 only ("GPL") or the Common Development
354N/AREM and Distribution License("CDDL") (collectively, the "License"). You
354N/AREM may not use this file except in compliance with the License. You can
354N/AREM obtain a copy of the License at
354N/AREM https://glassfish.dev.java.net/public/CDDL+GPL_1_1.html
354N/AREM or packager/legal/LICENSE.txt. See the License for the specific
354N/AREM language governing permissions and limitations under the License.
354N/AREM
354N/AREM When distributing the software, include this License Header Notice in each
354N/AREM file and include the License file at packager/legal/LICENSE.txt.
354N/AREM
354N/AREM GPL Classpath Exception:
354N/AREM Oracle designates this particular file as subject to the "Classpath"
354N/AREM exception as provided by Oracle in the GPL Version 2 section of the License
354N/AREM file that accompanied this code.
354N/AREM
5536N/AREM Modifications:
354N/AREM If applicable, add the following below the License Header, with the fields
5680N/AREM enclosed by brackets [] replaced by your own identifying information:
5680N/AREM "Portions Copyright [year] [name of copyright owner]"
354N/AREM
354N/AREM Contributor(s):
354N/AREM If you wish your version of this file to be governed by only the CDDL or
354N/AREM only the GPL Version 2, indicate your decision by adding "[Contributor]
618N/AREM elects to include this software in this distribution under the [CDDL or GPL
354N/AREM Version 2] license." If you don't indicate a single choice of license, a
354N/AREM recipient has the option to distribute your version of this file under
844N/AREM either the CDDL, the GPL Version 2 or to extend the choice of license to
844N/AREM its licensees as provided above. However, if you add GPL Version 2 code
618N/AREM and therefore, elected the GPL Version 2 license, then the option applies
354N/AREM only if the new code is made subject to such option by the copyright
2899N/AREM holder.
2899N/AREM
5680N/A
5680N/AREM
5680N/AREM * * * N O T E * * *
5680N/AREM
5680N/AREM Although the lines in this file are formatted as environment
5680N/AREM variable assignments, this file is NOT typically invoked as a script
5680N/AREM from another script to define these variables. Rather, this file is read
354N/AREM and processed by a server as it starts up. That scanning code resolves
354N/AREM the relative paths against the GlassFish installation directory.
354N/AREM
354N/AREM Yet, this file is also where users of earlier versions have sometimes added
485N/AREM a definition of AS_JAVA to control which version of Java GlassFish
354N/AREM should use. As a result, in order to run a user-specified version of Java,
354N/AREM the asadmin and appclient scripts do indeed invoke this file as a
354N/AREM script - but ONLY to define AS_JAVA. Any calling script should not
354N/AREM rely on the other settings because the relative paths will be resolved
354N/AREM against the current directory when the calling script is run, not the
354N/AREM installation directory of GlassFish, and such resolution will not work
354N/AREM correctly unless the script happens to be run from the GlassFish installation
5680N/AREM directory.
5680N/AREM
354N/A
set AS_IMQ_LIB=..\..\mq\lib
set AS_IMQ_BIN=..\..\mq\bin
set AS_CONFIG=..\config
set AS_INSTALL=..
set AS_DEF_DOMAINS_PATH=..\domains
set AS_DEF_NODES_PATH=..\nodes
set AS_DERBY_INSTALL=..\..\javadb