Re: Re: Shark 1.1 CORBA from .NET
"Sasa Bojanic" <[email protected]>
| Newsgroups | gmane.comp.java.enhydra.shark |
|---|---|
| Message-ID | <003201c57e14$948e0bf0$1200a8c0@bobrock> |
No, the best thing will be not to modify IDLs, but to find the switch. If you modify IDLs, you will need to do that every time we change something. As NingSoft said, it seems that Borland Janeva have such switch, and can build IDLs properly without any changes, and just by using appropriate switch in IDL compiler (the same as with Java IDL compiler). I also tried to add only: #pragma prefix "org.enhydra.shark.corba" which would be acceptable change to IDLs, but it seems that IIOP.NET refuses to parse it. It accepts only #pragma prefix "omg.org" or #pragma prefix "" Regards, Sasa. ----- Original Message ----- From: <[email protected]> To: <[email protected]> Sent: Friday, July 01, 2005 2:54 AM Subject: Re: Re: Shark 1.1 CORBA from .NET > Thanks Sasa, I tried your changes and it worked immediately. I'll look into the other options when I get a chance, but this will allow me to move ahead. > > I still suspect that there is some problem with the namespace organization as the new classes are showing up on the top level in Visual Studio.NET's Object Browser. I'm not that familiar with Java IDL definitions, but it looks like the namespace isn't defined at all and they are all defaulting to the omg.org defined in the included IDL files. I would think that should be defined in the IDL file rather than using the -pkgPrefix compiler switch. It probably can be remapped with the IIOP.NET -c switch, but I don't think it would be a better solution than what you've already done. > > Thanks again for the help, > > Brian >
message.footer
(text/plain, 271 B)
-- You receive this message as a subscriber of the [email protected] mailing list. To unsubscribe: mailto:[email protected] For general help: mailto:[email protected]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws