IDL compilation problem in Java
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Indranil_Adak
Posted On:   Thursday, July 1, 2004 12:32 AM

I have one IDL that declares a structure(A) and is not declared within a package.



I have one more IDL that contains some interface(B) definition declared within a package(C). Some methods(D) in declared in the interface uses A.



When a run idlj it generates the java code. But, I am not able to compile the java code.



Because, BPOA.java refers to A, but since A is not declared within a package, it cannot be resolved. Also, statement like "import A" is not valid, since A is not part of any package.



Any help will be highly appreciated.

Re: IDL compilation problem in Java

Posted By:   Christopher_Koenigsberg  
Posted On:   Thursday, July 1, 2004 10:07 AM

So, put A in a named package, where you give the name yourself, instead of letting it go into the implementation-dependent "default" package, which is what you're doing now.
About | Sitemap | Contact