update dev300-m58
[ooovba.git] / solenv / bin / checkapi.btm
blob7af444eb601feb0487d579b96840e4f04c46d2c0
1 @echo off
3 setlocal
5 SET JARFOLDER=%SOLARVERSION%\%INPATH%\bin%UPDMINOREXT%
7 IFF "%RUNNERJAR%" != "" THEN
8     SET APICLASSPATH=%RUNNERJAR%
9 ELSE
10     SET APICLASSPATH=%JARFOLDER%\OOoRunner.jar
11 ENDIFF
13 SET APICLASSPATH=%APICLASSPATH%;%JARFOLDER%\ridl.jar;%JARFOLDER%\unoil.jar;%JARFOLDER%\jurt.jar;%JARFOLDER%\juh.jar;%JARFOLDER%\java_uno.jar;\\unoapi\export\unoapi\bin\mysql.jar
15 IFF "%JAVAI%" != "" THEN
16     SET JAVABIN=%JAVAI%
17 ELSEIFF "%JAVA_HOME%" != "" THEN
18     SET JAVABIN=%JAVA_HOME%\bin\java
19 ELSE
20    echo please set environment variable JAVA_HOME
21    exit 1
22 ENDIFF
24 SET PARAM=-cs pipe,name=%USERNAME% -SRC_ROOT %SRC_ROOT%
26 IFF "%RUNNERPROPS%" != "" THEN
27     SET PARAM=%PARAM% -runnerini %RUNNERPROPS%
28 ENDIFF
30 rem SET MYXDEBUG=""
31 IFF "%XDEBUG%" != "" THEN
32     REM SET XDEBUG=-Xdebug -Xrunjdwp:transport=dt_socket,server=y,address=8001 
33     SET MYXDEBUG=%XDEBUG%
34 ENDIFF
36 set COMMAND=%JAVABIN% -Xmx120m %MYXDEBUG% -cp %APICLASSPATH% org.openoffice.Runner %PARAM% %&
39 echo %COMMAND
40 %COMMAND
42 endlocal
44 quit