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 follows,
CORBA->Compile CORBA Stubs but when i choose that option nothing was happened,so how to compile IDL file in eclipse and generate Java files.Please provide if there is any steps/procedures to follow to compile IDL file and generate java source files
Thanks
解决方案
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.