[jacorb-developer] Simple interface inheritance example

Phil Mesnier mesnier_p at ociweb.com
Sat Dec 28 19:21:56 CET 2013


Hi,

Does your server.idl include ISEASecured.idl?

#include "ISEASecured.idl"

If so, can you share the whole ISEASecured.idl and server.idl files?

On Dec 28, 2013, at 11:41 AM, Kujtim Hyseni wrote:

> Hi,
> 
> I have written the following two files:
> 
> // ISEASecured.idl
> interface ISEASecured {
>    string baseHello();
> };
> 
> and
> 
> // server.idl
> interface Inherited : ISEASecured {
> 
>    string hello();
> 
> };
> 
> and wrote the necessary java implementation files. But, when I type 'ant compile' I receive the error:
> 
> org.jacorb.idl.util.IDLLogger error
> SEVERE: server.idl, line:!(34):Undefined name:ISEASecured .
> 
> Can't recover from previous error(s), giving up.
> 
>         interface Inherited : ISEASecured
> 
> 
> It seems that I doesn't recognizes simple inheritance operator ':'. Can someone point out what is the problem i.e. how I could implement inheritance in this case?
> 
> Kujtim
> 		 	   		  
> _______________________________________________
> jacorb-developer maillist  -  jacorb-developer at lists.spline.inf.fu-berlin.de
> https://lists.spline.inf.fu-berlin.de/mailman/listinfo/jacorb-developer

--
Phil Mesnier
Principal Software Engineer and Partner,   http://www.ociweb.com
Object Computing, Inc.                     +01.314.579.0066 x225






More information about the jacorb-developer mailing list