This document describes how to compile/run the BasicSP (HUDisplay) example with the new DnC implementation.
Installing
- Make sure you have the latest DAnCE framework built.
-
NOTE:
While buiding DAnCE, we also suggest that you build the tests in the $CIAO_ROOT/test directory and make sure
all the tests run OK before you proceed to try out the BasicSP example or any other DAnCE-based
applications. To do this, open the file
After this, go back to the $CIAO_ROOT/DAnCE directory to generate your workspace/project or makefile by using MPC.
After the DAnCE and the tests are build OK, go to the $CIAO_ROOT/DAnCE/tests/NodeApplicationTest directory and make
sure all the three perl scripts (run_test.pl, run_test_simple.pl and run_test_ex.pl) run successfully.
- Generate the project/make files for the BasicSP example directory:
- linux:
[in $CIAO_ROOT/examples/BasicSP] mwc.pl -type gnuace
- windows:
[in %CIAO_ROOT%/examples/BasicSP] mwc.pl -type vc71
- Build the generated solution/make files
Running the test
- Change into the $CIAO_ROOT/examples/BasicSP/descriptors directory Start NodeManagers (NodeDameon) by running
basicNodeDaemon.pl
- Start the execution manager:
$DANCE_ROOT/bin/dance_execution_manager -o EM.ior -i NodeManagerMap.dat
- Start the executor:
$DANCE_ROOT/bin/dance_plan_launcher -p flattern_deploymentplan.cdp -k file://EM.ior
- After this, components should be deployed successfully. You can run the $CIAO_ROOT/examples/BasicSP/EC/controller to start the application.
Please make sure that the component IOR file for the EC component is present when you run this client.