diff options
author | dengg <dengg@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2006-10-18 16:25:02 +0000 |
---|---|---|
committer | dengg <dengg@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2006-10-18 16:25:02 +0000 |
commit | 1358b1ea3d989e940945516e87c2a4b15a403651 (patch) | |
tree | 84a8f302311d00eea086f4fa143d356ab7197ed2 | |
parent | 497d0d8918d85ca77a051624339b33645c15a75a (diff) | |
download | ATCD-1358b1ea3d989e940945516e87c2a4b15a403651.tar.gz |
-rwxr-xr-x | examples/Hello/descriptors_events/run_NodeDaemons_svc_conf.pl | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/examples/Hello/descriptors_events/run_NodeDaemons_svc_conf.pl b/examples/Hello/descriptors_events/run_NodeDaemons_svc_conf.pl new file mode 100755 index 00000000000..5599fe5b882 --- /dev/null +++ b/examples/Hello/descriptors_events/run_NodeDaemons_svc_conf.pl @@ -0,0 +1,42 @@ +eval '(exit $?0)' && eval 'exec perl -S $0 ${1+"$@"}' + & eval 'exec perl -S $0 $argv:q' + if 0; + +# $Id$ +# -*- perl -*- + +$ACE_ROOT=$ENV{'ACE_ROOT'}; + +use lib "/DOC_ROOT/ACE/bin"; +use PerlACE::Run_Test; + +$status = 0; +$iorfile1 = PerlACE::LocalFile ("NodeApp1.ior"); +$iorfile2 = PerlACE::LocalFile ("NodeApp2.ior"); + +#for ($iter = 0; $iter <= $#ARGV; $iter++) { +# if ($ARGV[$iter] eq "-h" || $ARGV[$iter] eq "-?") { +# print "Run_Test Perl script for NodeApplicationTest \n\n"; +# print "run_test \n"; +# print "\n"; +# print "-h -- prints this information\n"; +# exit 0; +# } +#} + + +unlink $iorfile1; +unlink $iorfile2; + +$CIAO_ROOT=$ENV{'CIAO_ROOT'}; + +$SV1 = new PerlACE::Process ("$CIAO_ROOT/DAnCE/NodeManager/NodeManager", + "-ORBEndpoint iiop://localhost:60001 -s $CIAO_ROOT/DAnCE/NodeApplication/NodeApplication -c rtec.conf"); + +$SV2 = new PerlACE::Process ("$CIAO_ROOT/DAnCE/NodeManager/NodeManager", + "-ORBEndpoint iiop://localhost:60002 -s $CIAO_ROOT/DAnCE/NodeApplication/NodeApplication -c rtec.conf"); + +$SV1->Spawn (); +$SV2->Spawn (); + +sleep (99999999999); |