<div dir="ltr"><div><span class="gmail-HwtZe" lang="en"><span class="gmail-jCAhz gmail-ChMk0b"><span class="gmail-ryNqvb">Ok I'm trying to make <b>unoidl-write</b> work in an <b>Ant</b> task.</span></span><span class="gmail-jCAhz gmail-ChMk0b"><span class="gmail-ryNqvb"><br></span></span></span></div><div><span class="gmail-HwtZe" lang="en"><span class="gmail-jCAhz gmail-ChMk0b"><span class="gmail-ryNqvb"><br></span></span></span></div><div><span class="gmail-HwtZe" lang="en"><span class="gmail-jCAhz gmail-ChMk0b"><span class="gmail-ryNqvb">The Ant task used in LOEclipse with <b>idlc</b> is:</span></span></span></div><div><span class="gmail-HwtZe" lang="en"><span class="gmail-jCAhz gmail-ChMk0b"><span class="gmail-ryNqvb"><br></span></span></span></div><div><span class="gmail-HwtZe" lang="en"><span class="gmail-jCAhz gmail-ChMk0b"><span class="gmail-ryNqvb"><br></span></span></span></div><div><div style="background-color:rgb(255,255,255);padding:0px 0px 0px 2px"><div style="color:rgb(0,0,0);background-color:rgb(255,255,255);font-family:"Monospace";font-size:10pt;white-space:pre"><p style="margin:0px">    <span style="color:rgb(0,0,128)"><target</span> <span style="color:rgb(0,0,128)">name=</span><span style="color:rgb(0,128,0)">"compile-idl"</span> <span style="color:rgb(0,0,128)">depends=</span><span style="color:rgb(0,128,0)">"init-java"</span><span style="color:rgb(0,0,128)">></span></p><p style="margin:0px">        <span style="color:rgb(0,0,128)"><echo</span> <span style="color:rgb(0,0,128)">message=</span><span style="color:rgb(0,128,0)">"${sdk.idlc}"</span><span style="color:rgb(0,0,128)">/></span></p><p style="margin:0px">        <span style="color:rgb(0,0,128)"><echo</span> <span style="color:rgb(0,0,128)">message=</span><span style="color:rgb(0,128,0)">"${office.tool.path}"</span><span style="color:rgb(0,0,128)">/></span></p><p style="margin:0px"><br></p><p style="margin:0px">        <span style="color:rgb(0,0,128)"><apply</span> <span style="color:rgb(0,0,128)">executable=</span><span style="color:rgb(0,128,0)">"${sdk.idlc}"</span> <span style="color:rgb(0,0,128)">failonerror=</span><span style="color:rgb(0,128,0)">"true"</span><span style="color:rgb(0,0,128)">></span></p><p style="margin:0px">            <span style="color:rgb(0,0,128)"><env</span> <span style="color:rgb(0,0,128)">key=</span><span style="color:rgb(0,128,0)">"PATH"</span> <span style="color:rgb(0,0,128)">path=</span><span style="color:rgb(0,128,0)">"${office.tool.path}"</span><span style="color:rgb(0,0,128)">/></span></p><p style="margin:0px">            <span style="color:rgb(0,0,128)"><env</span> <span style="color:rgb(0,0,128)">key=</span><span style="color:rgb(0,128,0)">"LD_LIBRARY_PATH"</span> <span style="color:rgb(0,0,128)">path=</span><span style="color:rgb(0,128,0)">"${office.tool.path}"</span><span style="color:rgb(0,0,128)">/></span></p><p style="margin:0px">            <span style="color:rgb(0,0,128)"><env</span> <span style="color:rgb(0,0,128)">key=</span><span style="color:rgb(0,128,0)">"DYLD_LIBRARY_PATH"</span> <span style="color:rgb(0,0,128)">path=</span><span style="color:rgb(0,128,0)">"${office.tool.path}"</span><span style="color:rgb(0,0,128)">/></span></p><p style="margin:0px">            <span style="color:rgb(0,0,128)"><arg</span> <span style="color:rgb(0,0,128)">value=</span><span style="color:rgb(0,128,0)">"-C"</span><span style="color:rgb(0,0,128)">/></span></p><p style="margin:0px">            <span style="color:rgb(0,0,128)"><arg</span> <span style="color:rgb(0,0,128)">value=</span><span style="color:rgb(0,128,0)">"-O"</span><span style="color:rgb(0,0,128)">/></span></p><p style="margin:0px">            <span style="color:rgb(0,0,128)"><arg</span> <span style="color:rgb(0,0,128)">value=</span><span style="color:rgb(0,128,0)">"${idl.out.urd}"</span><span style="color:rgb(0,0,128)">/></span></p><p style="margin:0px">            <span style="color:rgb(0,0,128)"><arg</span> <span style="color:rgb(0,0,128)">value=</span><span style="color:rgb(0,128,0)">"-I"</span><span style="color:rgb(0,0,128)">/></span></p><p style="margin:0px">            <span style="color:rgb(0,0,128)"><arg</span> <span style="color:rgb(0,0,128)">value=</span><span style="color:rgb(0,128,0)">"${idl.dir}"</span><span style="color:rgb(0,0,128)">/></span></p><p style="margin:0px">            <span style="color:rgb(0,0,128)"><arg</span> <span style="color:rgb(0,0,128)">value=</span><span style="color:rgb(0,128,0)">"-I"</span><span style="color:rgb(0,0,128)">/></span></p><p style="margin:0px">            <span style="color:rgb(0,0,128)"><arg</span> <span style="color:rgb(0,0,128)">value=</span><span style="color:rgb(0,128,0)">"${sdk.idl.dir}"</span><span style="color:rgb(0,0,128)">/></span></p><p style="margin:0px">            <span style="color:rgb(0,0,128)"><fileset</span> <span style="color:rgb(0,0,128)">dir=</span><span style="color:rgb(0,128,0)">"${idl.dir}"</span> <span style="color:rgb(0,0,128)">includes=</span><span style="color:rgb(0,128,0)">"**/*.idl"</span> <span style="color:rgb(0,0,128)">casesensitive=</span><span style="color:rgb(0,128,0)">"yes"</span><span style="color:rgb(0,0,128)">/></span></p><p style="margin:0px">        <span style="color:rgb(0,0,128)"></apply></span></p><p style="margin:0px">    <span style="color:rgb(0,0,128)"></target></span></p><p style="margin:0px"><br></p><p style="margin:0px"><br></p></div></div></div><div><span class="gmail-HwtZe" lang="en"><span class="gmail-jCAhz gmail-ChMk0b"><span class="gmail-ryNqvb"><br></span></span></span></div><div><span class="gmail-HwtZe" lang="en"><span class="gmail-jCAhz gmail-ChMk0b"><span class="gmail-ryNqvb"><br></span></span></span></div><div><span class="gmail-HwtZe" lang="en"><span class="gmail-jCAhz gmail-ChMk0b"><span class="gmail-ryNqvb">If someone already has something functional with</span></span></span><span class="gmail-HwtZe" lang="en"><span class="gmail-jCAhz gmail-ChMk0b"><span class="gmail-ryNqvb"> <b>unoidl-write</b> </span></span></span>it will save me time.</div><div><br></div></div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">Le mer. 15 janv. 2025 à 21:05, Adam Seskunas <<a href="mailto:adamseskunas@gmail.com">adamseskunas@gmail.com</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Hi Pierre,</div><div><br></div><div>I have found that some of the examples in the sdk and odk still try to use the idlc tool, which has been depreciated. <br></div><div><br></div><div>Which example were you trying to build?</div><div><br></div><div>The work around is to edit the Makefile to use the unoidl-write tool. The unoidl-write tool compresses two steps into</div><div>one, so the Makefile editing is more than just dropping in the new tool. <br></div><div><br></div><div>Adam<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Jan 15, 2025 at 11:17 AM Stephan Bergmann <<a href="mailto:stephan.bergmann@allotropia.de" target="_blank">stephan.bergmann@allotropia.de</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 1/15/25 19:26, Ilmari Lauhakangas wrote:<br>
> On 15.1.2025 20.00, Pierre Vacher wrote:<br>
>> I try to use the LibreOffice SDK 24.8 with LOEclipse.<br>
>><br>
>> When I try build the extension LOEclipse says it can't find the *idlc* <br>
>> file and indeed this file is not delivered with the SDK.<br>
>> Did I miss something?<br>
> <br>
> Recently I heard that the SDK examples have not been updated to use the <br>
> new unoidl-write tool.<br>
<br>
Oh, I'm not aware of at least any of the odk/examples/ ones not having <br>
been adapted.<br>
<br>
> Maybe this is about the same issue.<br>
<br>
This rather sounds like that LOEclipse has not been adapted to the <br>
removal of idlc from the SDK (cf. <br>
<<a href="https://wiki.documentfoundation.org/index.php?title=ReleaseNotes/7.5#Feature_Removal_/_Deprecation" rel="noreferrer" target="_blank">https://wiki.documentfoundation.org/index.php?title=ReleaseNotes/7.5#Feature_Removal_/_Deprecation</a>>)?<br>
</blockquote></div>
</blockquote></div>