2008-06-13 06:28:54 -05:00
rem @echo off
setlocal
2003-11-18 09:07:18 -06:00
SET JARFOLDER=%SOLARVERSION%\%INPATH%\bin%UPDMINOREXT%
2008-12-11 02:26:21 -06:00
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
2003-11-18 09:07:18 -06:00
2007-07-24 07:31:02 -05:00
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
2008-09-30 02:44:27 -05:00
SET PARAM=-cs pipe,name=%USERNAME% -SRC_ROOT %SRC_ROOT%
IFF "%RUNNERPROPS%" != "" THEN
2008-11-26 06:04:07 -06:00
SET PARAM=%PARAM% -runnerini %RUNNERPROPS%
2008-09-30 02:44:27 -05:00
ENDIFF
2008-06-13 06:28:54 -05:00
2009-01-28 06:21:44 -06:00
SET MYXDEBUG
2008-11-26 06:04:07 -06:00
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% %&
2008-06-13 06:28:54 -05:00
2007-07-24 07:31:02 -05:00
echo %COMMAND
%COMMAND
2008-06-13 06:28:54 -05:00
endlocal
quit