summaryrefslogtreecommitdiff
path: root/TAO/CIAO/DAnCE/examples/BasicSP/README.html
blob: 81078e31ed8d739a41b10c671da521214b74d12e (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
59
<HTML>
<!-- $Id$ -->
<BODY>

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

<H3> Installing </H3>

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

  <LI>
    Get the latest cidl compiler (if you did not compile from source) from:
    <A href="http://www.dre.vanderbilt.edu/cidlc/binary/">
      http://www.dre.vanderbilt.edu/cidlc/binary/
    </A>

    Copy the file into the <code> $CIAO_ROOT/bin </code> directory.
  </LI>

  <LI> Generate the make/project files for the DnC directory by using <code> $ACE_ROOT/bin/mwc.pl </code> script:
    <UL>
    <LI> <em> linux: </em> <code> [in $CIAO_ROOT/DnC] mwc.pl </code> </LI>
    <LI> <em> windows: </em> <code> [in %CIAO_ROOT%/DnC] mwc.pl </code> </LI>
    </UL>
  </LI>

  <LI> Generate the project/make files for the <em> BasicSP </em> example directory:
    <UL>
    <LI> <em> linux: </em> <code> [in $CIAO_ROOT/DAnCE/examples/BasicSP] mwc.pl </code> </LI>
    <LI> <em> windows: </em> <code> [in %CIAO_ROOT%/DAnCE/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/DAnCE/examples/descriptors directory Start NodeManagers (NodeDameon) by running <code> NodeDaemon.pl </code>
  
  <LI> Start the execution manager:
  <code>$CIAO_ROOT/DAnCE/ExecutionManager/Execution_Manager -o EM.ior -i basicsp.dat </code>
  </LI>

  <LI> Start the executor:
  <code> $CIAO_ROOT/DAnCE/RepositoryManager/executor -p package.tpd -d HUDisplay.cdp -k file://EM.ior </code>
  
  <LI> After this, components should be deployed successfully. You can run the $CIAO_ROOT/DAnCE/examples/BasicSP/EC/controller to start the application.

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

</BODY> </HTML>