Leser: 1
|< 1 2 >| | 12 Einträge, 2 Seiten |
1
2
3
4
5
6
7
8
9
rem ==================
rem JAR file pathes
rem ==================
set CLASSPATH=%PICTURES_HOME%\classes;
set CLASSPATH=%PICTURES_HOME%\lib\appfw.jar;
set CLASSPATH=%CLASSPATH%%PICTURES_HOME%\lib\pixx.jar;
set CLASSPATH=%CLASSPATH%%PICTURES_HOME%\lib\pixxclient.jar;
"%JAVA_HOME%\java" -cp %CLASSPATH% com.lsy.pixx.PixxClient
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
$jre_path = "D:\\WIN32APP\\JAVA_141_01";
$pixx_path = "F:\\PIXX_TOOLS\\IA_TEST\\1.5.1.00.27";
$appexecutable = $jre_path . "\\BIN\\JAVA.EXE";
@wks_name = qw(R1
R2
R3);
for $wks_name (@wks_name) {
$appparameters = $appexecutable . ' -cp ' .
$pix_path . ';'.
$pix_path . '\\CLASSES;'.
$pix_path . '\\ETC;'.
$pix_path . '\\CONFIG;'.
$pix_path . '\\LIB\\servertester\\loggingpatch;'.
$pix_path . '\\LIB\\servertester\\servertester.jar' .';'.
$pix_path . '\\LIB\\appfw.jar' .';'.
$pix_path . '\\LIB\\pixx.jar' .';'.
$pix_path . '\\LIB\\pixxclient.jar' . ';'.
$pix_path . '\\LIB\\pixxcsresources.jar' . ';'.
$pix_path . '\\LIB\\orbix2000.jar'. ';'.
' com.lsy.pixx.server.test.Tester $wks_name servertester\\tester.cfg';
}
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
#$jre_path = "D:\\WIN32APP\\JAVA_141_01";
$pix_path = "F:\\PIXX_TOOLS\\IA_TEST\\1.5.1.00.27";
$appexecutable = "D:\\WIN32APP\\JAVA_131_04\\BIN\\JAVA.EXE";
#$appexecutable = $jre_path . "\\BIN\\JAVA.EXE";
#@wks_name = qw(R1R2R3);
#for $wks_name (@wks_name) {
$appparameters = $appexecutable . ' -cp ' .
$pix_path . ';'.
$pix_path . '\\CLASSES;'.
$pix_path . '\\ETC;'.
$pix_path . '\\CONFIG;'.
$pix_path . '\\LIB\\servertester\\loggingpatch;'.
$pix_path . '\\LIB\\servertester\\servertester.jar' .';'.
$pix_path . '\\LIB\\appfw.jar' .';'.
$pix_path . '\\LIB\\pixx.jar' .';'.
$pix_path . '\\LIB\\pixxclient.jar' . ';'.
$pix_path . '\\LIB\\pixxcsresources.jar' . ';'.
$pix_path . '\\LIB\\orbix2000.jar'.
' com.lsy.pixx.server.test.Tester REMO1 servertester/tester.cfg'.
# start pictures...
Win32::Process::Create($ProcessObj,
$appexecutable,
$appparameters,
0,
NORMAL_PRIORITY_CLASS,
'.')|| die ErrorReport();
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
use strict;
use Win32;
use Win32::Process;
my $pix_path = "F:\\PIXX_TOOLS\\IA_TEST\\1510027";
my $appexecutable = "D:\\WIN32APP\\JAVA_131_04\\BIN\\JAVA.EXE";
my $ProcessObj = ();
my @wks_name = qw(REMO1
REMO2
REMO3);
for my $wks_name (@wks_name) {
my $appparameters = $appexecutable . ' -cp ' .
$pix_path . ';'.
$pix_path . '\\CLASSES;'.
$pix_path . '\\ETC;'.
$pix_path . '\\CONFIG;'.
$pix_path . '\\HELP;'.
$pix_path . '\\LIB\\appfw.jar' .';'.
$pix_path . '\\LIB\\pixx.jar' .';'.
$pix_path . '\\LIB\\pixxclient.jar' . ';'.
$pix_path . '\\LIB\\pixxcsresources.jar' . ';'.
$pix_path . '\\servertester\\loggingpatch;'.
$pix_path . '\\servertester\\servertester.jar' . ';'.
$pix_path . '\\LIB\\orbix2000.jar' .
' com.lsy.pixx.server.test.Tester $wks_name servertester//tester.cfg';
Win32::Process::Create($ProcessObj,
$appexecutable,
$appparameters,
1,
NORMAL_PRIORITY_CLASS,
'.')|| die ErrorReport();
}
QuoteCode: (dl )' com.lsy.pixx.server.test.Tester $wks_name servertester//tester.cfg';
1 2 3 4 5 6 7 8 9
use strict; use warnings; my $var = 'tralala'; print "$var\n"; print '$var'; tralala $var
|< 1 2 >| | 12 Einträge, 2 Seiten |