blob: 7af444eb601feb0487d579b96840e4f04c46d2c0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
@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
rem 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
|