LibreOffice / loeclipse

LibreOffice Eclipse plugin for extension development
https://libreoffice.github.io/loeclipse/
31 stars 25 forks source link

Can't set sdk path #99

Closed Hercle999 closed 1 year ago

Hercle999 commented 1 year ago

It couldn't set SDK path.

An loopexception (loopexception) occurred when set LibreOffice SDK path and push "OK" button on SDK Configuration for Libre office plugin. (ref. attached images)

I tried on some version's eclipse and on 2 PC, but same exception occurred.

loopexception sdk stacktrace select sdk sdkconf

RayCulp commented 1 year ago

@Hercle999 I found the problem.

Starting with version 7.5.0.1, the SDK appears to be missing the entire IDL folder.

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

Workaround (which will most likely cause "unexpected behavior" downstream):

  1. 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: https://downloadarchive.documentfoundation.org/libreoffice/old/7.4.6.2/
  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.

image

Eclipse will now recognize the SDK.

Be aware that I have detected changes in files in the IDL folder from version to version, so this may cause errors downstream when you build your solution, until the LibreOffice devs fix the SDK and provide a new download.

Hercle999 commented 1 year ago

Thank you for your reply and corresponding.

I could set the property "path to sdk."

But because of the problem #98, I couldn't start LibreOffice from eclipse.