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