Eclipse IDL compilation-Collection of common programming errors

I am also having trouble with CORBA IDL compilation under Eclipse. The CORBA IDL compiler generates an error in the Eclipse error log = “Unhandled event loop exception” due to a “java.lang.NoClassDefFoundError: org/openorb/compiler/IdlCompiler” exception.

The above answer may work for “HelloWorld”, but CORBA IDL files are a super-set of standard IDL syntax and have their own unique keywords like “typeprefix” and “local”.

Therefore they must be compiled using the IDL compiler org.openorb.compiler.IdlCompiler.

One way to do this is using the ANT compiler. A sample ANT XML script would read: