Launching Help from RCP application on macOS [message #1859351] |
Thu, 01 June 2023 16:58 |
CathyScott Mising name Messages: 11 Registered: July 2011 |
Junior Member |
|
|
I have an RCP application that is built for macOS, Windows and Linux. I have incorporated the org.eclipse.help feature to add my own help files.
The help system works perfectly on both Windows and Linux. It even works fine on macOS in a development environment - ie launching from Eclipse as a product.
But once built and deployed to a macOS system it fails with a Help Error dialog and a message 'Unable to open web browser on {0}.
This occurs on Ventura, Big Sur and Catalina macOS systems.
Also, I cannot view the error log as this also fails with an unable to open web browser error - see screenshot. As before viewing the error log is possible on other operating systems and from within an Eclipse product launch.
It seems to be an issue with launching scripts - see the error in the screenshot
cannot run program "usr/bin/open"; error=0, spawn failed.
I've checked and the script is there.
Perhaps this is a permissions issue? I'm not even sure where and how to start working out what the error is. There is nothing shown in the log file and I cannot debug it as it works fine in the dev environment .
Thanks in advance for any help.
[Updated on: Thu, 01 June 2023 16:59] Report message to a moderator
|
|
|
Re: Launching Help from RCP application on macOS [message #1859380 is a reply to message #1859351] |
Sat, 03 June 2023 06:23 |
Ed Merks Messages: 33258 Registered: July 2009 |
Senior Member |
|
|
I'm not sure either, and I don't have a Mac. I'm not sure what to suggest... One thing you can do is remote debug the real application to see how the behavior differs from self-hosted debug launch. You can add this to the eclipse.ini-Xdebug
-Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=8123 And then create a remote debug launcher that connects to port 8123.
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
Powered by
FUDForum. Page generated in 0.02687 seconds