SDK path settings (MRI)

Issues installing under the Mac OSX - X11 - Aqua
Post Reply
AndresSolar
Posts: 72
Joined: Sun Jun 26, 2016 5:42 am

SDK path settings (MRI)

Post 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
LO6.2 on OS-X Mojave 10.14.3
User avatar
RoryOF
Moderator
Posts: 34586
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: SDK path settings (MRI)

Post by RoryOF »

Best detailed documentation at
https://github.com/hanya/MRI/wiki
Apache OpenOffice 4.1.15 on Xubuntu 22.04.4 LTS
User avatar
Villeroy
Volunteer
Posts: 31269
Joined: Mon Oct 08, 2007 1:35 am
Location: Germany

Re: SDK path settings (MRI)

Post 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.
Please, edit this topic's initial post and add "[Solved]" to the subject line if your problem has been solved.
Ubuntu 18.04 with LibreOffice 6.0, latest OpenOffice and LibreOffice
AndresSolar
Posts: 72
Joined: Sun Jun 26, 2016 5:42 am

Re: SDK path settings (MRI)

Post 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.".
LO6.2 on OS-X Mojave 10.14.3
User avatar
Villeroy
Volunteer
Posts: 31269
Joined: Mon Oct 08, 2007 1:35 am
Location: Germany

Re: SDK path settings (MRI)

Post by Villeroy »

MRI config
MRI config
The documentation is displayed in the browser which is specified in MRI's browser path setting.
Please, edit this topic's initial post and add "[Solved]" to the subject line if your problem has been solved.
Ubuntu 18.04 with LibreOffice 6.0, latest OpenOffice and LibreOffice
AndresSolar
Posts: 72
Joined: Sun Jun 26, 2016 5:42 am

Re: SDK path settings (MRI)

Post 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!!
LO6.2 on OS-X Mojave 10.14.3
AndresSolar
Posts: 72
Joined: Sun Jun 26, 2016 5:42 am

Re: SDK path settings (MRI)

Post 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...
LO6.2 on OS-X Mojave 10.14.3
AndresSolar
Posts: 72
Joined: Sun Jun 26, 2016 5:42 am

Re: SDK path settings (MRI)

Post 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.)
LO6.2 on OS-X Mojave 10.14.3
AndresSolar
Posts: 72
Joined: Sun Jun 26, 2016 5:42 am

Re: SDK path settings (MRI)

Post 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...)
LO6.2 on OS-X Mojave 10.14.3
AndresSolar
Posts: 72
Joined: Sun Jun 26, 2016 5:42 am

Re: SDK path settings (MRI)

Post 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 :)
LO6.2 on OS-X Mojave 10.14.3
Post Reply