modify idl files in offapi module and build

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

modify idl files in offapi module and build

jiangchuang-3
Hello,everyone!

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,
otherwise procedure breakdown or function not be archieved. But now on
our Loongson device(MIPS architecture) Openoffice.org of transplantation
development will spend a lot of time, is there a way to solve this
phenomenon? This is modify offapi directory idl files without having to
compile the whole directory, just complie the module depends Offapi and
deliiver to the Solver directory after the compilation, direct packing;
or assign the changes generated files directly into OpenOffice.org
directory after installation, then run.

Could you help us? And give us any advices.TIA.


ChuangJiang




---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: modify idl files in offapi module and build

eric b-3

Le 23 juil. 10 à 08:56, jiangchuang a écrit :

> Hello,everyone!

Hello,


>
> 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


Should work imho (and if I'm wrong, someone will correct me soon  ;-)


> Could you help us? And give us any advices.TIA.
>

HTH

Eric Bachard

--
qɔᴉɹə
Education Project:
http://wiki.services.openoffice.org/wiki/Education_Project
Projet OOo4Kids : http://wiki.ooo4kids.org/index.php/Main_Page
L'association EducOOo : http://www.educoo.org
Blog : http://eric.bachard.free.fr/news





Reply | Threaded
Open this post in threaded view
|

Re: modify idl files in offapi module and build

Michael Stahl-5
On 23/07/2010 09:11, eric b wrote:

> Le 23 juil. 10 à 08:56, jiangchuang a écrit :
>
>> Hello,everyone!
>
> Hello,
>
>
>> 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".

>> Could you help us? And give us any advices.TIA.
>>
>
> HTH
>
> Eric Bachard

--
"The use of COBOL cripples the mind; its teaching should therefore be
 regarded as a criminal offense." -- Edsger W. Dijkstra


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Re: modify idl files in offapi module and build

Thomas Lange - Oracle

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.

Thomas



---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Re: modify idl files in offapi module and build

Juergen Schmidt-3
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



---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]