Read only archive ; use https://github.com/JacORB/JacORB/issues for new issues
Bug 990 - IDLs of TMF814V3.2 compile error
Summary: IDLs of TMF814V3.2 compile error
Status: CLOSED INVALID
Alias: None
Product: JacORB
Classification: Unclassified
Component: IDL compiler (show other bugs)
Version: 3.4 beta
Hardware: PC Windows NT
: P5 enhancement
Assignee: Mailinglist to track bugs
URL:
Depends on:
Blocks:
 
Reported: 2014-07-04 03:52 UTC by VeryMichael
Modified: 2014-07-04 05:20 UTC (History)
1 user (show)

See Also:


Attachments
emsSession.idl in TMF814_V3.2 (5.46 KB, text/plain)
2014-07-04 03:52 UTC, VeryMichael
Details

Note You need to log in before you can comment on or make changes to this bug.
Description VeryMichael 2014-07-04 03:52:25 UTC
Created attachment 444 [details]
emsSession.idl in TMF814_V3.2

I used JacORB 3.4 beta to compile the IDLs of TMF814_V3.2.
All of the IDLs can compile compeleted, but only the emsSession.idl and emsSessionFactory.idl;

ps: 
1) I have tried to use two versions of JacORB, the "JacORB 2.1" and "JacORB 3.4 beta" to compile the IDLs, and "JacORB 2.1" is OK.
2) My OS is Win7.
3) the compile error used "JacORB 3.4 beta" is below:
    
D:\eclipse\workspace\TMF814Client\idl>idl -ID:\eclipse\workspace\TMF814Client\id
l\omgidl  -d D:\eclipse\workspace\TMF814Client\src emsSession.idl
SEVERE org.jacorb.idl.lexer emit_error D:\eclipse\workspace\TMF814Client\idl\ems
Session.idl, line: 154(1): In operation emsSession.EmsSession_I.getEventChannel
argument eventChannel clashes with type CosNotifyChannelAdmin.EventChannel

2014-7-2 18:23:58 org.jacorb.idl.lexer emit_error
CRITICAL: D:\eclipse\workspace\TMF814Client\idl\emsSession.idl, line: 154(1): In ope
ration emsSession.EmsSession_I.getEventChannel argument eventChannel clashes wit
h type CosNotifyChannelAdmin.EventChannel

SEVERE org.jacorb.idl.lexer emit_error D:\eclipse\workspace\TMF814Client\idl\ems
Session.idl, line: 154(1): 1 error(s).

2014-7-2 18:23:58 org.jacorb.idl.lexer emit_error
CRITICAL: D:\eclipse\workspace\TMF814Client\idl\emsSession.idl, line: 154(1): 1 erro
r(s).

SEVERE org.jacorb.idl.lexer emit_error Parse error : Lexer errors
2014-7-2 18:23:58 org.jacorb.idl.lexer emit_error
严重: Parse error : Lexer errors

D:\eclipse\workspace\TMF814Client\idl>


Looking forward to your early reply, appreciate it very!
Comment 1 Nick Cross 2014-07-04 04:09:39 UTC
CosNotifyChannelAdmin::EventChannel eventChannel 

is illegal IDL. Try 

CosNotifyChannelAdmin::EventChannel theEventChannel
Comment 2 VeryMichael 2014-07-04 04:51:21 UTC
(In reply to Nick Cross from comment #1)
> CosNotifyChannelAdmin::EventChannel eventChannel 
> 
> is illegal IDL. Try 
> 
> CosNotifyChannelAdmin::EventChannel theEventChannel

is there any methods to fix this issue, but not to change the IDL?

first, why JacORB 2.1 has no problem about this issue?
second, the IDL is released by TMF as an international standard.

Considering the above reasons, it is not suitable to change the IDL.
Comment 3 Nick Cross 2014-07-04 05:17:24 UTC
JacORB 2.1 was not compliant with the spec. According to CORBA 3.0.3 04-03-12 section 3.20 that is invalid IDL that TMF released.

For workarounds please read chapter 25, section 1 of the JacORB ProgrammingGuide
Comment 4 VeryMichael 2014-07-04 05:20:14 UTC
ok. thanks a lot!