Bug 4007 - Inconsistancy in Hello example
Summary: Inconsistancy in Hello example
Status: NEW
Alias: None
Product: CIAO
Classification: Unclassified
Component: Examples (show other bugs)
Version: 1.0.5
Hardware: x86 Windows 2008
: P3 minor
Assignee: DOC Center Support List (internal)
URL: http://www.dre.vanderbilt.edu/~schmid...
Depends on:
Blocks:
 
Reported: 2012-02-20 21:46 CST by Marianne
Modified: 2012-02-20 21:46 CST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marianne 2012-02-20 21:46:00 CST
SYNOPSIS:
        Hello example was copied to a different location and the step by step
instructions followed.

    DESCRIPTION:
        Problem executing the application with run_test.pl
ERROR: Cannot Spawn: <c:\vc9\Middleware\CIAO\examples\Hello\Sender\.\starter.EXE
> not found

    SAMPLE FIX/WORKAROUND:
        Required modification of run_test.pl to run the starter from a relative
path, i.e.
            $controller_exec = "$CIAO_ROOT/examples/Hello/Sender/starter";
        change to;
            $controller_exec = "../lib/starter";

On further investigation, when following the tuturial;
http://www.dre.vanderbilt.edu/~schmidt/DOC_ROOT/CIAO/examples/Hello/step-by-step.html

Generating the mpc for the Sender;
generate_component_mpc.pl -e -l ../lib -o ../lib -c starter -p Hello_Base Sender
Produces a default "exeout = ../lib" in project(Hello_Base_starter) in Sender.mpc

This is inconsistant with the $controller_exec in run_test.pl

Possible Solutions;
1. Suggest change to the generate_component_mpc.pl include a option flag that can select the exeout folder 
2. Modify the Hello step-by-step example to reflect changes in run_test.pl and/or the generate_component_mpc.pl

Regards,
Marianne.