Re: Re: modify idl files in offapi module and build
Juergen Schmidt <[email protected]> Wed, 28 Jul 2010 09:48:11 +0200
| Newsgroups | gmane.comp.openoffice.devel.tools |
|---|---|
| Message-ID | <[email protected]> |
On 7/28/10 8:13 AM, Thomas Lange - Oracle wrote: > > Hi all, > >>>> I'm an engineer from Beijing RedFlag 2000. And I met the following >>>> question: >>>> Modify idl files in offapi module, must be complied the entire >>>> OpenOffice.org from the beginning, and the program will be find, >>> >>> >>> The best solution is always a clean build, from clean sources, but, >>> to have such machine myself, I understand what you mean ;) >>> >>> So, I'd suggest to : >>> >>> 1) rebuild offuh + deliver it >>> >>> 2) rebuild the module concerned by the change + deliver it >> >> that's the idea, but depending on which IDL file you change, it may be >> difficult to determine what is affected. >> some are only used in very few places, but others are used in so many >> places that it's easier to just rebuild everything. >> i guess the moral is not to change the frequently used ones :) >> >>> Should work imho (and if I'm wrong, someone will correct me soon ;-) >> >> another module to rebuild would be "unoil"; most of the regression tests >> (unoapi tests and complex tests) depend on the java UNO API classes >> generated in "unoil". > > AFAIR unoil is only required if you want to use the new API with Java, > but in that case I think ridljar was also required to be compiled. to make it clear udkapi -> base UNO API for the URE ridljar -> the related Java types for the types from udkapi offapi -> office UNO API unoil -> related Java types for the types from offapi offuh -> generate all C++ header for all types from udkapi and offapi Juergen