Eclipse IDL compilation

前端 未结 3 1311
深忆病人
深忆病人 2021-01-27 22:20

I added orb plug-in to Eclipse and created an IDL file.I configured IDL Compiler to the project which has IDL file.When i rigth-click on the IDL file there is an option as follo

3条回答
  •  傲寒
    傲寒 (楼主)
    2021-01-27 23:24

    open the command line and go to the directory where you have your IDL file and run this line

    idlj -fall nameOfIdlFile.idl
    

    e.g. if your idl file is named HelloWorld.idl

    idlj -fall HelloWorld.idl
    

    after running the above command line, in your root folder it will generate java classes namely:

    • HelloWorld.java
    • HelloWorldPOA.java
    • HelloWorldStub.java
    • HelloWorldHelper.java
    • HelloWorldOperations.java
    • HelloWorldHolder.java.

    Hope this will help you or anyone in the future with the same question.

提交回复
热议问题