1
|
1 |
@echo off
|
|
2 |
REM
|
|
3 |
REM Copyright 2003 Sun Microsystems, Inc. All Rights Reserved.
|
|
4 |
REM DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
5 |
REM
|
|
6 |
REM This code is free software; you can redistribute it and/or modify it
|
|
7 |
REM under the terms of the GNU General Public License version 2 only, as
|
|
8 |
REM published by the Free Software Foundation.
|
|
9 |
REM
|
|
10 |
REM This code is distributed in the hope that it will be useful, but WITHOUT
|
|
11 |
REM ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
|
12 |
REM FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
|
13 |
REM version 2 for more details (a copy is included in the LICENSE file that
|
|
14 |
REM accompanied this code).
|
|
15 |
REM
|
|
16 |
REM You should have received a copy of the GNU General Public License version
|
|
17 |
REM 2 along with this work; if not, write to the Free Software Foundation,
|
|
18 |
REM Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
|
19 |
REM
|
|
20 |
REM Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
|
|
21 |
REM CA 95054 USA or visit www.sun.com if you need additional information or
|
|
22 |
REM have any questions.
|
|
23 |
REM
|
|
24 |
REM
|
|
25 |
|
|
26 |
call saenv64.bat
|
|
27 |
|
|
28 |
REM check for .\sa.jar, if it does not exist
|
|
29 |
REM assume that we are in build configuration.
|
|
30 |
|
|
31 |
if not exist .\sa.jar goto IN_BUILD_CONF
|
|
32 |
set SA_CLASSPATH=.\sa.jar
|
|
33 |
goto EXEC_CMD
|
|
34 |
|
|
35 |
:IN_BUILD_CONF
|
|
36 |
set SA_CLASSPATH=..\build\classes
|
|
37 |
|
|
38 |
:EXEC_CMD
|
|
39 |
%SA_JAVA% -classpath %SA_CLASSPATH% -Djava.rmi.server.codebase=file:/%SA_CLASSPATH% -Djava.security.policy=grantAll.policy -Djava.library.path=%SA_LIBPATH% %OPTIONS% sun.jvm.hotspot.DebugServer %1 %2 %3 %4 %5 %6 %7 %8 %9
|