Page 1 of 1

SDK path settings (MRI)

Posted: Sat May 18, 2019 6:33 pm
by AndresSolar
I'm trying to setup the sdk-path (online) for MRI 1.3.3 (on Mac osx Mojave, LO 6.2).

Nothing i've found about that topic works. I tried the OO sdk online -> MRI wants "a better" path to Firefox - and offline -> no reaction from MRI after clicking the IDE-Reference Button.

Is there a howto?
Thx in advance

Re: SDK path settings (MRI)

Posted: Sat May 18, 2019 6:40 pm
by RoryOF
Best detailed documentation at
https://github.com/hanya/MRI/wiki

Re: SDK path settings (MRI)

Posted: Sat May 18, 2019 7:22 pm
by Villeroy
The LibreOffice files are generated by a tool named "Doxygen" and the respective option needs to be checked on the MRI configuration dialog.
On my machine the path is: file:///opt/libreoffice6.2/sdk where /opt/libreoffice6.2 is the installation path of the office suite and the sdk subdirectory has been added by the SDK package.

Re: SDK path settings (MRI)

Posted: Sat May 18, 2019 8:34 pm
by AndresSolar
Hello RoryOF,
thx, I knew it.

Villeroy,
I pointed MRI to the SDK-path reported by the sdk-installer (SDK = /Users/username/Documents/LibreOffice6.2_SDK --> file:///Users/username/LibreOffice6.2_SDK/) and marked the "Doxygen"-Option, but MRI keeps complaining about the browser-path (even if i delete that input-line): "Fix your browser configuration.".

Re: SDK path settings (MRI)

Posted: Sat May 18, 2019 8:59 pm
by Villeroy
MRI config
MRI config
The documentation is displayed in the browser which is specified in MRI's browser path setting.

Re: SDK path settings (MRI)

Posted: Sun May 19, 2019 1:36 am
by AndresSolar
Villeroy,

I had to reinstall LO (MRI didn't open it's main window any more).
Now i have LO 6.2.3 with MRI 1.3.4 running.

As i see, you're on Linux and the browser-path points at the binary.
Extending the full path into the FireFox-app-container finally solved it.

.../Applications/Firefox.app/Contents/MacOS/firefox

Many thanks!!

Re: SDK path settings (MRI)

Posted: Sun May 19, 2019 1:42 am
by AndresSolar
...however... (LOL)

a small problem needs to be solved.

The browser fails trying to open:

file:///Users/username/Library/Containers/com.apple.Safari/Data/file:/Users/username/LibreOffice6.2_SDK/docs/idl/ref/interfacecom_1_1sun_1_1star_1_1document_1_1XActionLockable.html%23a926280f21512deabb959c50b188cb109

This seems like a mix of the 2 path's in the MRI-Setup...

Re: SDK path settings (MRI)

Posted: Sun May 19, 2019 1:56 am
by AndresSolar
comparing all path's, i found a discrepancy in how MRI constructs the browser-path, because within:

file:///Users/username/Library/Containers/com.apple.Safari/Data/file:/Users/username/LibreOffice6.2_SDK/docs/idl/ref/interfacecom_1_1sun_1_1star_1_1document_1_1XActionLockable.html%23a926280f21512deabb959c50b188cb109

the folder Documents is missing:

.../username/Documents/LibreOffice6.2_SDK...

(the problem remains with changing to Firefox, etc.)

Re: SDK path settings (MRI)

Posted: Sun May 19, 2019 2:07 am
by AndresSolar
...the correct path would be:

file:///Users/username/Documents/LibreOffice6.2_SDK/docs/idl/ref/interfacecom_1_1sun_1_1star_1_1document_1_1_x_action_lockable.html

no idea how to get there (there is a mistake in the filename too...)

Re: SDK path settings (MRI)

Posted: Sun May 19, 2019 2:25 am
by AndresSolar
..i guess this is all somehow related to the LibreOffice "Kindergarden - Issue":

http://document-foundation-mail-archive ... l#a4257846

I highly doubt that a modern software company/foundation (who cares) like LibreOffice can afford such incompetence on a management level for a very long time.

I'll give OpenOffice a chance :)