[cosmic-users] Error importing xme file created by tao_picml
Prakash Manghwani
pmanghwani at bbn.com
Tue Dec 13 15:56:48 CST 2005
CoSMIC VERSION: 0.4.6
HOST MACHINE and OPERATING SYSTEM:
i.e., which version of Windows are you using.
Windows XP Pro,
TOOL/AREA/CLASS/EXAMPLE AFFECTED:
[Particularly, which tool in CoSMIC is affected? What example failed?
What module failed to compile?]
PICML and tao_picml are affected.
DOES THE PROBLEM AFFECT:
COMPILATION?
LINKING?
EXECUTION?
OTHER (please specify)?
xme files created by tao_picml cannot be imported into PICML.
SYNOPSIS:
[Brief description of the problem]
PICML does not like to import xme files created by tao_picml, if
one of the idl files has typedef sequence of octets as below.
typedef sequence<octet> image_type;
DESCRIPTION:
[Detailed description of problem. Don't just say "<blah>
doesn't work, here's a fix," explain what your program does
to get to the <blah> state. ]
run tao_picml on provided idl file. Attached with this email are 3
files.
1. Batch file that runs tao_picml on idl file and generates xme file.
2. Generated .xme file
3. idl file that is cause of this problem.
REPEAT BY:
[What you did to get the error; include test program or session
transcript if at all possible. ]
Files are attached.
SAMPLE FIX/WORKAROUND:
[If available ]
RELATED FILES:
[Please attach the XME file of your model, generated descriptors and code.
In GME you can use "File->Export XML" menu to generate XME files.]
Files are attached.
What is the specific order of steps I need to take in order to create a
model of attached idl file in PICML? Specifically, drag and drop what from
where and when?
Thanks
Prakash
-------------- next part --------------
A non-text attachment was scrubbed...
Name: UAV_Import.xme
Type: application/octet-stream
Size: 5074 bytes
Desc: not available
Url : http://list.isis.vanderbilt.edu/pipermail/cosmic-users/attachments/20051213/f91ac1c2/UAV_Import.obj
-------------- next part --------------
#ifndef NEWFILE_IDL
#define NEWFILE_IDL
#include <Components.idl>
module test_module
{
typedef sequence<octet> image_type;
//eventtype ImageGenerationEvt {
// public string id;
//public image_type image;
// public string size;
// public string tag;
// public ImageTagSeq tag_seq;
// public string role_tag; //just a shortcut for coding foe capstone demo
// };
};
#endif // NEWFILE_IDL
-------------- next part --------------
REM This file is used to convert idl files to picml models.
REM note. PICML model is alwasy over written.
set COSMIC_ROOT=C:\Program Files\ISIS\CoSMIC
echo TAO path %TAO_ROOT%
echo CIAO path %CIAO_ROOT%
echo COSMIC path %COSMIC_ROOT%
rem this is needed for proper operation of cosmic
set PATH=%PATH%;%COSMIC_ROOT%\bin
"%COSMIC_ROOT%\bin\tao_picml.exe" -x UAV_Import NewFile.idl %CIAO_TAO_INCLUDES%
rem start ignore this part
set UAV_ROOT=E:\work-area\uav
rem UAV E:\work-area\uav\Mpeg2ppm\Mpeg2ppmSender.cidl E:\work-area\uav\Mpeg2ppm\Mpeg2ppmSender.idl E:\work-area\uav\Common_Base\Common_Base.idl E:\work-area\uav\Common_Base\SwitchInterface.idl
set CIAO_TAO_INCLUDES=-I %TAO_ROOT% -I %TAO_ROOT%\orbsvcs -I %CIAO_ROOT%\DAnCE\ciao
echo CIAO TAO INCLUDES %CIAO_TAO_INCLUDES%
set UAV_INCLUDES=-I E:\work-area\uav\Common_Base
echo UAV INCLUDES %UAV_INCLUDES%
set COMMON_BASE_IDLS=%UAV_ROOT%\Common_Base\BasicTypes.idl
rem "%COSMIC_ROOT%\bin\tao_picml.exe" -x UAV_Import %COMMON_BASE_IDLS% %UAV_INCLUDES% %CIAO_TAO_INCLUDES%
rem stop ignore
More information about the cosmic-users
mailing list