{"id":1770,"date":"2022-08-30T15:19:18","date_gmt":"2022-08-30T15:19:18","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2013\/12\/02\/eclipse-idl-compilation-collection-of-common-programming-errors\/"},"modified":"2022-08-30T15:19:18","modified_gmt":"2022-08-30T15:19:18","slug":"eclipse-idl-compilation-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2022\/08\/30\/eclipse-idl-compilation-collection-of-common-programming-errors\/","title":{"rendered":"Eclipse IDL compilation-Collection of common programming errors"},"content":{"rendered":"<p>I am also having trouble with CORBA IDL compilation under Eclipse. The CORBA IDL compiler generates an error in the Eclipse error log = &#8220;Unhandled event loop exception&#8221; due to a &#8220;java.lang.NoClassDefFoundError: org\/openorb\/compiler\/IdlCompiler&#8221; exception.<\/p>\n<p>The above answer may work for &#8220;HelloWorld&#8221;, but CORBA IDL files are a super-set of standard IDL syntax and have their own unique keywords like &#8220;typeprefix&#8221; and &#8220;local&#8221;.<\/p>\n<p>Therefore they must be compiled using the IDL compiler org.openorb.compiler.IdlCompiler.<\/p>\n<p>One way to do this is using the ANT compiler. A sample ANT XML script would read:<\/p>\n<pre><code> \n\n  \n  \n  \n\n<\/code><\/pre>\n<p id=\"rop\"><small>Originally posted 2013-12-02 01:20:53. <\/small><\/p>","protected":false},"excerpt":{"rendered":"<p>I am also having trouble with CORBA IDL compilation under Eclipse. The CORBA IDL compiler generates an error in the Eclipse error log = &#8220;Unhandled event loop exception&#8221; due to a &#8220;java.lang.NoClassDefFoundError: org\/openorb\/compiler\/IdlCompiler&#8221; exception. The above answer may work for &#8220;HelloWorld&#8221;, but CORBA IDL files are a super-set of standard IDL syntax and have their [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-1770","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/1770","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=1770"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/1770\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=1770"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=1770"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=1770"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}