diff options
author | schmidt <douglascraigschmidt@users.noreply.github.com> | 2006-02-02 21:51:39 +0000 |
---|---|---|
committer | schmidt <douglascraigschmidt@users.noreply.github.com> | 2006-02-02 21:51:39 +0000 |
commit | 23b16ff1aade949b658da212a835ee03f96b3967 (patch) | |
tree | 7d7b9ac8929b4bc695acfc5280a4f6e130bf437a | |
parent | 111dceba57c351e11fbec7606434399f85150a37 (diff) | |
download | ATCD-23b16ff1aade949b658da212a835ee03f96b3967.tar.gz |
ChangeLogTag:Thu Feb 2 17:49:42 UTC 2006 J.T. Conklin <jtc@acorntoolworks.com>
-rw-r--r-- | TAO/CIAO/ChangeLog | 6 | ||||
-rw-r--r-- | TAO/CIAO/docs/tutorials/CoSMIC/01.html | 51 |
2 files changed, 41 insertions, 16 deletions
diff --git a/TAO/CIAO/ChangeLog b/TAO/CIAO/ChangeLog index 9e3ebf054a6..7ad8c872649 100644 --- a/TAO/CIAO/ChangeLog +++ b/TAO/CIAO/ChangeLog @@ -1,3 +1,9 @@ +Thu Feb 2 15:49:31 2006 Douglas C. Schmidt <schmidt@cs.wustl.edu> + + * docs/tutorials/CoSMIC/01.html: Commited a fix for a typo detected by + Abdullah Sowayan <abdullah dot sowayan at lmco dot com> and + fixed by Ming Xiong. + Thu Feb 2 16:58:15 UTC 2006 Johnny Willemsen <jwillemsen@remedy.nl> * CIAO_TAO_DAnCE.mwc: diff --git a/TAO/CIAO/docs/tutorials/CoSMIC/01.html b/TAO/CIAO/docs/tutorials/CoSMIC/01.html index de0ef414e8b..acdd46e5ae1 100644 --- a/TAO/CIAO/docs/tutorials/CoSMIC/01.html +++ b/TAO/CIAO/docs/tutorials/CoSMIC/01.html @@ -17,7 +17,8 @@ component. <br> directory for the basic idl; <code>Stock_Base</code> and for each component; <code>Broker</code> and <code>Distributor</code>. In <code>MyQuoter/Stock_Base</code>, place the -idl file <code>Stock_Base.idl</code> that you could copy from <a +idl file <code style="font-style: italic;">Stock_Base.idl</code> that +you could copy from <a href="../Quoter/Simple/Stock_Base/Stock_Base.idl">this</a>. This file defines the interfaces and events that will be used by both Stock Distributor and Stock Broker. We put together the @@ -25,41 +26,59 @@ common definitions so the generated base library can be shared by both components, thus reducing the size of "real" components. <br> 3. In <code>MyQuoter/Distributor</code>, place the idl -file <code>Distributor.idl</code> that looks like <a - href="../Quoter/Simple/Distributor/Distributor.idl">this</a>. +file <code style="font-style: italic;">Distributor.idl</code> that +looks like <a href="../Quoter/Simple/Distributor/Distributor.idl">this</a>. This file defines the Stock Distributor component interfaces.<br> 4. In <code>MyQuoter/Broker</code> place the idl -file for the stock broker; the <code>Broker.idl</code> +file for the stock broker; the <code><span style="font-style: italic;">Broker.id</span>l</code> that looks like <a href="../Quoter/Simple/Broker/Broker.idl">this</a>. This file defines the StockBroker component interface.<br> <br> <b>Importing IDL to PICML</b><br> <br> To quick start our Stock Quoter -modeling process in GME, CoSMIC provides <code>tao_picml</code>; that -enables you to -import the IDL files you just created into modeling elements in PICML. <br> +modeling process in GME, CoSMIC introduces <i style=""><span + style="font-size: 12pt; font-family: "Times New Roman";" lang="EN-US">idl_to_picml +</span></i>, which is an executable program that imports the IDL files +you just created into modeling elements in PICML. <br> 1. Make sure <code>%COSMIC_ROOT%\bin</code> is included in the PATH variable. <br> 2. Open a command prompt, run VCVARS32.BAT from the MSVC .NET folder if you haven't done so. It will set the environment -for using Microsoft Visual Studio .NET tools so that tao_picml works +for using Microsoft Visual Studio .NET tools so that <span + style="font-style: italic;">idl_to_picml</span> works properly.<br> In my machine, VCVARS32.bat is in C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\bin<br> - 3. In the same command prompt, change directory to <code>MyQuoter\</code>, + 3. Copy all three idl files, i.e. +MyQuoter\Stock_Base\Stock_Base.idl MyQuoter\Broker\Broker.idl +MyQuoter\Distributor\Distributor.idl to the .\MyQuoter directory. +And make sure you <span style="font-weight: bold;">remove(or comment)</span> +the include declaration in <span style="font-style: italic;">Distributor.idl</span> +and <span style="font-style: italic;">Broker.idl</span>, e.g., // +#include "../Stock_Base/Stock_Base.idl. This step is important because <span + style="font-style: italic;">idl_to_picml </span>does not generate XML +for included idls, so you have to parse the closure set of all included +files into the command line. <br> + 4. In the same command prompt, change directory to <code>MyQuoter\</code>, and type the following command:<br> - > <code>tao_picml -x MyQuoter -.\Broker\Broker.idl -.\Distributor\Distributor.idl .\Stock_Base\Stock_Base.idl -I %TAO_ROOT% --I %TAO_ROOT%\orbsvcs -I %CIAO_ROOT%\DAnCE\ciao</code> <br> - The <code>tao_picml</code> + > <span + style="font-family: monospace;">idl_to_picml</span><code> -x MyQuoter +Stock_Base.idl Broker.idl Distributor.idl<br> + (if the above command does not work, you may also try this<br> + >idl_to_picml -x MyQuoter Stock_Base.idl Broker.idl +Distributor.idl -I %TAO_ROOT% +-I %TAO_ROOT%\orbsvcs -I %CIAO_ROOT%\ciao)</code><br> + <span + style="font-style: italic;">idl_to_picml</span> will parse your IDL files and generated a <code>MyQuoter.xme</code> file in the <code>MyQuoter</code> -directory.<br> - 4. Start GME, select <strong>File->Import xml..</strong>, +directory. Note that if -x option is not used, the default xme file +name will be <span + style="font-size: 12pt; font-family: "Times New Roman";" lang="EN-US">PICML_default_xme_file.xme.</span><br> + 5. Start GME, select <strong>File->Import xml..</strong>, and choose the xme file just generated. You should be able to see an imported PICML model similar to the one shown in Figure 2.<br> |