[ace-users] TAO IDL compiler error for "EventType"
Douglas C. Schmidt
schmidt at dre.vanderbilt.edu
Mon Jul 23 08:44:17 CDT 2007
Hi Terry,
Perhaps Alcatel-Lucent could sponsor someone (e.g., PrismTech) to
enhance the TAO IDL compiler to ignore IDL 3.0 keywords?
thanks,
Doug
> > From: Lv, Yi (Terry) [mailto:ylv at alcatel-lucent.com]
> > Sent: Monday, July 23, 2007 4:13 AM
> > To: Adam Mitz; Doug Schmidt
> > Cc: ace-users at cse.wustl.edu
> > Subject: RE: [ace-users] TAO IDL compiler error for "EventType"
> >
> > Hi, Adam, Alex,
> >
> > Thanks for prompt responses! Yes you are right. In TAO 1.4a, in
> > $TAO_ROOT/orbsvcs/orbsvcs/CosNotification.idl, the _EventType
> > is defined.
> >
> > Following info got from omg.org:
> >
> > - The obsolete idl file I am using (in our project):
> > compliance with IDL file of
> > Notification service V1.0.
> > - The idl file in TAO 1.4a: compliance with IDL file of
> > Notification service V1.01
> > and later.
> > - EventType firstly became IDL keyword in CORBA 3.0
> > (http://www.omg.org/cgi-bin/doc?formal/02-06-01).
> >
> > Actually what borthering me most is, the obsolete IDL file has been
> > used by other companies and developers. The late modification might
> > cost a lot to resolve this issue. To match with this idl
> > file, we may have to
> > switch to a lower version orb package to resume our development.
> >
> > Thanks all for your replies!
> >
> > Regards
> > Terry
> >
> >
> > -----Original Message-----
> > From: Adam Mitz [mailto:mitza at ociweb.com]
> > Sent: 2007年7月20日 21:57
> > To: Douglas C. Schmidt
> > Cc: Lv, Yi (Terry); ace-users at cse.wustl.edu
> > Subject: Re: [ace-users] TAO IDL compiler error for "EventType"
> >
> > Hi Terry,
> >
> > Douglas C. Schmidt wrote:
> > >> I got IDL compiler error as below:
> > >> "tao_idl: "./CosNotification.idl", line 26: spelling
> > differs from IDL
> > >> keyword only in case: "EventType""
> > >> Per http://www.omg.org/issues/issue4901.txt, this could be easily
> > >> fixed by editorial modification to the IDL.
> > >> But I was told by client-side guy that error didn't happen
> > when using
> > >> other IDL compiler such as VisiBroker and Orbix, which means it is
> > >> hard and late to modify the idl file. Now the question is:
> > >> how can I suppress this keyword parsing? I tried "-Sm"
> > >> but nothing changed.
> > >>
> > >> p.s.: my tao version:
> > >> bash-2.05$ tao_idl -V
> > >> tao_idl
> > >> TAO_IDL_FE, version 1.4a_p16 (Based on Sun IDL FE, version 1.3.0)
> > >> TAO_IDL_BE, version 1.4a_p16
> > >>
> > >> CosNotifiacation.idl segment:
> > >>
> > >> "
> > >> 25
> > >> 26 struct EventType {
> > >> 27 string domain_name;
> > >> 28 string type_name;
> > >> 29 };
> > >> "
> > >>
> >
> > Is this snippet from the CosNotification.idl file distributed
> > with TAO 1.4a_p16? This doesn't match what I see in the TAO
> > 1.4a sources.
> > Also, you can view the OMG standardized IDL for Notification
> > at http://www.omg.org/docs/formal/04-10-12.txt. You'll
> > notice that the struct is named _EventType, which matches
> > what's in TAO 1.4a.
> >
> > Thanks,
> > Adam Mitz
> > Software Engineer
> > Object Computing, Inc.
> >
More information about the Ace-users
mailing list