summaryrefslogtreecommitdiff
path: root/CIAO/examples/BasicSP/README.html
blob: 7f5c941c3ed015959d1cfb0b1a3eeb644c861f9d (plain)
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
<HTML>
<!--  -->
<BODY>

This document describes how to compile/run the BasicSP (HUDisplay) example with the new DnC implementation.

<H3> Installing </H3>

<UL>
  <LI> Make sure you have the latest DAnCE framework built.
  </LI>

  <LI>
    <br><br>
    <em>NOTE</em>:  <br>
           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.<br>
          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.

          <br><br>
  </LI>

  <LI> Generate the project/make files for the <em> BasicSP </em> example directory:
    <UL>
    <LI> <em> linux: </em> <code> [in $CIAO_ROOT/examples/BasicSP] mwc.pl -type gnuace</code> </LI>
    <LI> <em> windows: </em> <code> [in %CIAO_ROOT%/examples/BasicSP] mwc.pl -type vc71</code> </LI>
    </UL>
  </LI>


  <LI> Build the generated solution/make files </LI>
</UL>

<H3> Running the test </H3>

<UL>

  <LI> Change into the $CIAO_ROOT/examples/BasicSP/descriptors directory Start NodeManagers (NodeDameon) by running <code> basicNodeDaemon.pl </code>

  <LI> Start the execution manager:
  <code>$DANCE_ROOT/bin/dance_execution_manager -o EM.ior -i NodeManagerMap.dat </code>
  </LI>

  <LI> Start the executor:
  <code>$DANCE_ROOT/bin/dance_plan_launcher -p flattern_deploymentplan.cdp -k file://EM.ior </code>

  <LI> 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.

  <BR/>
  </LI>
</UL>

</BODY> </HTML>