Bug 154341 - Starting with version 7.5.0.1, the SDK appears to be missing the entire IDL folder
Summary: Starting with version 7.5.0.1, the SDK appears to be missing the entire IDL f...
Status: RESOLVED NOTABUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: sdk (show other bugs)
Version:
(earliest affected)
7.5.1.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-03-23 14:02 UTC by Ray Culp
Modified: 2023-03-27 13:10 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ray Culp 2023-03-23 14:02:33 UTC
Description:
I noticed that Eclipse / LOEclipse fails to recognize the latest LibreOffice SDK. I knew it had not had this problem previously, so I compared the contents of the folders of the latest SDK with an older version that I knew was working.

It seems that starting with version 7.5.0.1, the SDK is missing the entire IDL folder

Eclipse will not recognize the SDK if this folder is missing.

Temporary workaround (which will most likely cause “unexpected behavior” downstream):

In addition to the 7.5.X.X version of the SDK that is causing the problem, install version 7.4.6.2 of the SDK (the last version that included the IDL folder) for your operating system from here: Index of /libreoffice/old/7.4.6.2

After installation completes successfully, copy the IDL folder and its contents from the 7.4.6.2 SDK installation folder over to the 7.5.X.X SDK folder.


Steps to Reproduce:
1. Install SDK

Actual Results:
IDL folder is missing

Expected Results:
IDL folder should be present


Reproducible: Always


User Profile Reset: No

Additional Info:
No other information available
Comment 1 Ray Culp 2023-03-23 14:27:46 UTC
URL to download older version of SDK should be:

https://downloadarchive.documentfoundation.org/libreoffice/old/7.4.6.2/
Comment 2 Stephan Bergmann 2023-03-27 13:10:56 UTC
It's not mentioned very prominently, but see <https://wiki.documentfoundation.org/ReleaseNotes/7.5#Feature_Removal_/_Deprecation>:

"In the SDK, the deprecated tools idlc and regmerge (using the legacy type registry format) have been removed in favor of unoidl-write (using the incompatible new type registry format internally introduced in LibreOffice 4.1). core commit a8485d55"

and the commit message of the linked <https://git.libreoffice.org/core/+/a8485d558fab53291e2530fd9a1be581c1628deb%5E%21> "[API CHANGE] Remove deprecated idlc and regmerge from the SDK":

"The SDK no longer ships an idl/ sub-directory containing the udkap and offapi .idl files (as, unlike idlc, unoidl-write does not need them).  odk/config/cfgWin.js had to be adapted to look (somewhat arbitrarily) for an examples/ sub-directory instead of idl/ when checking for 'an sdk folder'.  gb_UnoApi_package_idlfiles became unused and has been removed."