8 Einträge, 1 Seite |
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
use strict;
use Win32;
use Win32::Process;
my $ProcessObj = ();
#---------------------------------------------------------
# Loading JAR Files
#---------------------------------------------------------
foreach my $wks_name2 (@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_name2 servertester//tester.cfg";
Win32::Process::Create($ProcessObj,
$appexecutable,
$appparameters,
1,
NORMAL_PRIORITY_CLASS,
'.')|| die ErrorReport();
$ProcessObj->Suspend();
$ProcessObj->Resume();
$ProcessObj->Wait(INFINITE);
}
1
2
3
4
5
set CLASSPATH=\lib\1.jar;
set CLASSPATH=%CLASSPATH%\lib\2.jar;
set CLASSPATH=%CLASSPATH%\lib\3.jar;
java -cp %CLASSPATH% com.lsy.pixx.PixxClient
1
2
$CLASSPATH = "/lib/1.jar:/lib/2.jar:/lib/3.jar:";
system("java", "-cp", $CLASSPATH, "com.lsy.pixx.PixxClient");
8 Einträge, 1 Seite |