office-gobmx/solenv/bin/checkapi.btm
Kurt Zenker cca22b0b44 CWS-TOOLING: integrate CWS cwscheckapi7
2009-01-23 12:09:08 +0100 cn  r266805 : #i98006 update lists
2009-01-23 11:57:02 +0100 cn  r266802 : #i98340# fix xdebug variable
2009-01-23 11:03:32 +0100 cn  r266796 : #i98006 update lists
2009-01-14 12:06:52 +0100 cn  r266275 : #i98006# update lists
2009-01-14 09:39:37 +0100 cn  r266268 : #i98006# update lists
2009-01-12 22:24:51 +0100 cn  r266182 : #i98006# update lists
2009-01-28 12:21:44 +00:00

44 lines
1,003 B
Text

rem @echo off
setlocal
SET JARFOLDER=%SOLARVERSION%\%INPATH%\bin%UPDMINOREXT%
IFF "%RUNNERJAR%" != "" THEN
SET APICLASSPATH=%RUNNERJAR%
ELSE
SET APICLASSPATH=%JARFOLDER%\OOoRunner.jar
ENDIFF
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
IFF "%JAVAI%" != "" THEN
SET JAVABIN=%JAVAI%
ELSEIFF "%JAVA_HOME%" != "" THEN
SET JAVABIN=%JAVA_HOME%\bin\java
ELSE
echo please set environment variable JAVA_HOME
exit 1
ENDIFF
SET PARAM=-cs pipe,name=%USERNAME% -SRC_ROOT %SRC_ROOT%
IFF "%RUNNERPROPS%" != "" THEN
SET PARAM=%PARAM% -runnerini %RUNNERPROPS%
ENDIFF
SET MYXDEBUG
IFF "%XDEBUG%" != "" THEN
REM SET XDEBUG=-Xdebug -Xrunjdwp:transport=dt_socket,server=y,address=8001
SET MYXDEBUG=%XDEBUG
ENDIFF
set COMMAND=%JAVABIN% -Xmx120m %MYXDEBUG -cp %APICLASSPATH% org.openoffice.Runner %PARAM% %&
echo %COMMAND
%COMMAND
endlocal
quit