Bug 4007

Summary: Inconsistancy in Hello example
Product: CIAO Reporter: Marianne <marianne.rieckmann>
Component: ExamplesAssignee: DOC Center Support List (internal) <tao-support>
Status: NEW ---    
Severity: minor    
Priority: P3    
Version: 1.0.5   
Hardware: x86   
OS: Windows 2008   
URL: http://www.dre.vanderbilt.edu/~schmidt/DOC_ROOT/CIAO/examples/Hello/step-by-step.html

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.