diff options
author | nanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2006-12-27 20:56:11 +0000 |
---|---|---|
committer | nanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2006-12-27 20:56:11 +0000 |
commit | 48f795fbefe52348101a1d73e5b81e84b513d926 (patch) | |
tree | 4a88d099a77552222015e2b1ad14824544c014bc | |
parent | 1d448fc6a433766734beb25e61308f672d1b6cd4 (diff) | |
download | ATCD-RTCCM-test-take2.tar.gz |
ChangeLogTag:Wed Dec 27 20:15:29 UTC 2006 Nanbor Wang <nanbor (at) txcorp (dot) com>RTCCM-test-take2
-rw-r--r-- | CIAO/ChangeLog | 16 | ||||
-rwxr-xr-x | CIAO/examples/Hello/descriptors/run_test_without_ns.pl | 4 | ||||
-rw-r--r-- | CIAO/examples/Hello/descriptors_RTCCM/README | 18 | ||||
-rw-r--r-- | CIAO/examples/Hello/descriptors_RTCCM/rt-example.cdp | 2 | ||||
-rwxr-xr-x[-rw-r--r--] | CIAO/examples/Hello/descriptors_RTCCM/rt_run_test.pl | 6 |
5 files changed, 40 insertions, 6 deletions
diff --git a/CIAO/ChangeLog b/CIAO/ChangeLog index 7224d79f848..075de563a8c 100644 --- a/CIAO/ChangeLog +++ b/CIAO/ChangeLog @@ -1,3 +1,19 @@ +Wed Dec 27 20:15:29 UTC 2006 Nanbor Wang <nanbor (at) txcorp (dot) com> + + * examples/Hello/descriptors/run_test_without_ns.pl: + Variable cdp_file is now actually used in the script. + + * examples/Hello/descriptors_RTCCM/rt_run_test.pl: + Variable cdp_file is now actually used in the script. + Fixed broken environment variable usage. + Enable the svn:executable property. + + * examples/Hello/descriptors_RTCCM/rt-example.cdp: + Fixed a typo. + + * examples/Hello/descriptors_RTCCM/README: + Added a short description on how to use this example. + Fri Nov 3 03:03:24 UTC 2006 Shanshan Jiang <shanshan.jiang@vanderbilt.edu> * DAnCE/NodeApplicationManager/Containers_Info_Map.cpp diff --git a/CIAO/examples/Hello/descriptors/run_test_without_ns.pl b/CIAO/examples/Hello/descriptors/run_test_without_ns.pl index 25be260cd32..d5f78c7f703 100755 --- a/CIAO/examples/Hello/descriptors/run_test_without_ns.pl +++ b/CIAO/examples/Hello/descriptors/run_test_without_ns.pl @@ -17,7 +17,7 @@ $daemons = 2; @iorfiles = ( "NodeApp1.ior", "NodeApp2.ior" ); $status = 0; $dat_file = "NodeManagerMap.dat"; -$cdp_file = "DeploymentPlan.cdp"; +$cdp_file = "flattened_deploymentplan_without_ns.cdp"; $controller_exec = "$CIAO_ROOT/examples/Hello/Sender/starter"; $E = 0; @@ -114,7 +114,7 @@ $em_running = 1; print "Invoking executor - start the application -\n"; $E = new PerlACE::Process ("$DAnCE/Plan_Launcher/plan_launcher", - "-p flattened_deploymentplan_without_ns.cdp -k file://EM.ior -o DAM.ior"); + "-p $cdp_file -k file://EM.ior -o DAM.ior"); $E->SpawnWaitKill (5000); diff --git a/CIAO/examples/Hello/descriptors_RTCCM/README b/CIAO/examples/Hello/descriptors_RTCCM/README new file mode 100644 index 00000000000..551de85c775 --- /dev/null +++ b/CIAO/examples/Hello/descriptors_RTCCM/README @@ -0,0 +1,18 @@ + README for RTCCM example -- $Id$ -- + +This subdirectory contains a simple example showing how to use the +RTCCM extension supported by CIAO. This example doesn't really use +any of the RT capability, rather, it only shows how to associate +component instances with sets of RT policies we wish to apply. See +$CIAO_ROOT/docs/schema/ServerResourceUsage.txt for more details on how +to put together a ServerResource file (such as the +rt-config-example.scr in this example) to define sets of policies and +how to associate these policy sets with component instances (as in +rt-example.cdp.) + +Because the test uses RT scheduling policies to run the +NodeApplication, you will need administrator privilege to successfully +execute the test script, rt_run_test.pl. Remember to set up the +environment variables (LD_LIBRARY_PATH, ACE_ROOT, and CIAO_ROOT) for +the script to execute okay. + diff --git a/CIAO/examples/Hello/descriptors_RTCCM/rt-example.cdp b/CIAO/examples/Hello/descriptors_RTCCM/rt-example.cdp index 6dc5b078d58..a9c04e21e04 100644 --- a/CIAO/examples/Hello/descriptors_RTCCM/rt-example.cdp +++ b/CIAO/examples/Hello/descriptors_RTCCM/rt-example.cdp @@ -156,7 +156,7 @@ <connection> - <name>hell_event_connection</name> + <name>hello_event_connection</name> <internalEndpoint> <portName>click_out</portName> <kind>EventPublisher</kind> diff --git a/CIAO/examples/Hello/descriptors_RTCCM/rt_run_test.pl b/CIAO/examples/Hello/descriptors_RTCCM/rt_run_test.pl index a790fef1be0..76cad1275e9 100644..100755 --- a/CIAO/examples/Hello/descriptors_RTCCM/rt_run_test.pl +++ b/CIAO/examples/Hello/descriptors_RTCCM/rt_run_test.pl @@ -8,7 +8,7 @@ eval '(exit $?0)' && eval 'exec perl -S $0 ${1+"$@"}' use lib "$ENV{'ACE_ROOT'}/bin"; use PerlACE::Run_Test; $CIAO_ROOT = "$ENV{'CIAO_ROOT'}"; -$DAnCE = "$ENV{'ACE_ROOT'}/TAO/CIAO/DAnCE"; +$DAnCE = "$ENV{'CIAO_ROOT'}/DAnCE"; $daemons_running = 0; $em_running = 0; @@ -17,7 +17,7 @@ $daemons = 2; @iorfiles = ( "NodeApp1.ior", "NodeApp2.ior" ); $status = 0; $dat_file = "NodeManagerMap.dat"; -$cdp_file = "DeploymentPlan.cdp"; +$cdp_file = "rt-example.cdp"; $controller_exec = "$CIAO_ROOT/examples/Hello/Sender/starter"; $E = 0; @@ -119,7 +119,7 @@ $em_running = 1; print "Invoking executor - start the application -\n"; $E = new PerlACE::Process ("$DAnCE/Plan_Launcher/plan_launcher", - "-p rt-example.cdp -k file://EM.ior -o DAM.ior"); + "-p $cdp_file -k file://EM.ior -o DAM.ior"); $E->SpawnWaitKill (5000); |