idlc with LibreOffice SDK 24.8

Pierre Vacher prrvchr at gmail.com
Wed Jan 15 21:52:37 UTC 2025


Ok I'm trying to make *unoidl-write* work in an *Ant* task.

The Ant task used in LOEclipse with *idlc* is:


<target name="compile-idl" depends="init-java">

<echo message="${sdk.idlc}"/>

<echo message="${office.tool.path}"/>


<apply executable="${sdk.idlc}" failonerror="true">

<env key="PATH" path="${office.tool.path}"/>

<env key="LD_LIBRARY_PATH" path="${office.tool.path}"/>

<env key="DYLD_LIBRARY_PATH" path="${office.tool.path}"/>

<arg value="-C"/>

<arg value="-O"/>

<arg value="${idl.out.urd}"/>

<arg value="-I"/>

<arg value="${idl.dir}"/>

<arg value="-I"/>

<arg value="${sdk.idl.dir}"/>

<fileset dir="${idl.dir}" includes="**/*.idl" casesensitive="yes"/>

</apply>

</target>





If someone already has something functional with *unoidl-write* it will
save me time.


Le mer. 15 janv. 2025 à 21:05, Adam Seskunas <adamseskunas at gmail.com> a
écrit :

> Hi Pierre,
>
> I have found that some of the examples in the sdk and odk still try to use
> the idlc tool, which has been depreciated.
>
> Which example were you trying to build?
>
> The work around is to edit the Makefile to use the unoidl-write tool. The
> unoidl-write tool compresses two steps into
> one, so the Makefile editing is more than just dropping in the new tool.
>
> Adam
>
> On Wed, Jan 15, 2025 at 11:17 AM Stephan Bergmann <
> stephan.bergmann at allotropia.de> wrote:
>
>> On 1/15/25 19:26, Ilmari Lauhakangas wrote:
>> > On 15.1.2025 20.00, Pierre Vacher wrote:
>> >> I try to use the LibreOffice SDK 24.8 with LOEclipse.
>> >>
>> >> When I try build the extension LOEclipse says it can't find the *idlc*
>> >> file and indeed this file is not delivered with the SDK.
>> >> Did I miss something?
>> >
>> > Recently I heard that the SDK examples have not been updated to use the
>> > new unoidl-write tool.
>>
>> Oh, I'm not aware of at least any of the odk/examples/ ones not having
>> been adapted.
>>
>> > Maybe this is about the same issue.
>>
>> This rather sounds like that LOEclipse has not been adapted to the
>> removal of idlc from the SDK (cf.
>> <
>> https://wiki.documentfoundation.org/index.php?title=ReleaseNotes/7.5#Feature_Removal_/_Deprecation
>> >)?
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice/attachments/20250115/eb064d74/attachment.htm>


More information about the LibreOffice mailing list