English 中文(简体)
Is it possible to get a full compliance between Rhapsody generated IDL files and CORBA 3.1?
原标题:

I ve tried to compile generated IDL files from Rhapsody 7.1.1 with the last version of TAO IDL Compiler (released package version 6.0.2), but I get some errors because anonymous types are deprecated in CORBA 3.1.

This kind of errors could be suppressed using TAO IDL Compiler "-as" option. But, for maintenance reasons, I want to generate compliant IDL files.

Also, I get other errors from the TAO IDL Compiler related with interface forwarding. This generated IDL files compile correctly until TAO version 5.7.9 (1.7.9).

Edited:

The main problem with interface forwarding is that a forward of an already defined interface hides the contents of such interface.

Example:

A.idl

interface A {

    typedef long my_long_type;
};

B.idl

#include "A.idl"

interface A;

interface B {
     typedef A::my_long_type my_b_long; // Error with TAO versions greater than 5.7.9
};

If I remove the forward of A there is no problem, but i can t because the IDL files are generated by Rhapsody by this way.

最佳回答

For the interface forward, create a small reproducer and if this is a bug in TAO_IDL, than report it in the TAO bugzilla at http://bugzilla.dre.vanderbilt.edu/

问题回答

暂无回答




相关问题
Compatibility of CORBA implementations

As far as I know there were problems with incompatible CORBA implementations in the past resulting from different interpretations of the specification. How is the situation today? Can I expect two ...

ctags generator for CORBA IDL?

I work in a multi-language environment and use Vim + ctags for navigating the code. However we also use CORBA and exuberant ctags does not parse IDL files. Does anyone know of a ctags compatible ...

Distributed computing using java RMI and CORBA

following is the problem i am facing. i will explain it will an example If there is an IT department that makes use of Java RMI and another department which make use of CORBA, if i happened to ...

How do debug in Eclipse when an object is invoked?

I have just started with java development using Eclipse, when I was debugging this part: object.methodInAnotherClass(parameters); The debugger stopped, I understand this won t skip to another class ...

Java s tnameserv takes 3+ minutes to be "Ready", why?

I m trying to help a dev of an app I d like to use trouble shoot a problem utilizing Corba Server on Linux. I narrowed down the problem to tnameserv taking over 3 minutes to become ready after ...

RMI and CORBA Differences?

I am studying for a final and have a few questions about RMI and CORBA. These are discussion questions taken from a study guide so there is no real application context around them. Why are RMI and ...

热门标签