1283584ee9
2008/03/24 19:25:17 cn 1.5.226.2: #i86871# use local variables 2008/03/05 15:18:32 cn 1.5.226.1: #i86692# change connection to named pipe
27 lines
585 B
Text
27 lines
585 B
Text
rem @echo off
|
|
|
|
setlocal
|
|
|
|
SET JARFOLDER=%SOLARVERSION%\%INPATH%\bin%UPDMINOREXT%
|
|
SET APICLASSPATH=%JARFOLDER%\OOoRunner.jar;%JARFOLDER%\ridl.jar;%JARFOLDER%\unoil.jar;%JARFOLDER%\jurt.jar;%JARFOLDER%\juh.jar;%JARFOLDER%\java_uno.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%
|
|
|
|
set COMMAND=%JAVABIN% -Xmx120m -cp %APICLASSPATH% org.openoffice.Runner %PARAM% %&
|
|
|
|
|
|
echo %COMMAND
|
|
%COMMAND
|
|
|
|
endlocal
|
|
|
|
quit
|