Re: orbacus and Jbuilder
Darren Middleman <[email protected]> Sun, 22 Jan 2006 20:09:03 -0330
| Newsgroups | gmane.comp.corba.orbacus |
|---|---|
| Organization | IONA | Making Software Work Together TM |
| Message-ID | <[email protected]> |
Hi Imed, > Thank you for replying, I'll give you more details: > > It's true, I've got the *.jar files (OB.jar, OBEvent.jar....), I added the > C:\ooc\bin in the path variable. So, to cinfigure JBuilder 7 entreprise to > work with orbacus (and not Orbix or Visibroker) I read that we have to add > the libraries (the *.jar files) under Tools/Configure librarires, and also > under Tools/Entreprise Setup we should create a new configuration (named > orbacus) and we have to precise (on this dalog box) the command lin (which > is jidl) and the option (--output-dir). > > Till now everything is fine, but when compiling an idl file i don't have > the *.java files in output (there is no error messages) so i don't know > where is the pb? > > (the configuration is shown here : > http://www.visi.com/~gyles19/fom-serve/cache/382.html) I followed the directions on the site you listed and also had trouble finding the files generated by the IDL compiler. It turned out that my projects settings did not have the correct IDL compiler settings loaded into my project and as a result, my IDL file wasn't actually being compiled. In a default project, JBuilder sets the IDL compiler to none. I had to go into the settings for my project (Project | Project Properties) and select the "IDL" option from the "Build" settings. From here, I could select the IDL compiler I set up from the instructions listed on the website you referenced and provide any appropriate command line options. I should point out that to control the IDL compiler options such as package name and IDL include directories, you should specify these in the "Additional options" field. The supplied areas for providing these options will not work with the Orbacus IDL compiler (JBuilder uses the wrong command line options for our IDL compiler). Once all of this was set up, I was able to successfully compile the hello world application in JBuilder using the Orbacus IDL compiler. The source files that were generated from the IDL compiler were located in a folder called "Generated Source", which was located in the same folder as all of my compiler .class files. Regards, Darren -- Darren Middleman, Software Engineer Team Orbacus - Your CORBA Source Email: mailto:[email protected] WWW: http://www.orbacus.com/ _______________________________________________ OB-Users Mailing List - [email protected] http://mail.ooc.nf.ca/mailman/listinfo/ob-users Visit our support FAQ before you send a message. http://www.orbacus.com/faq/support.html