-
Notifications
You must be signed in to change notification settings - Fork 16
Open
Description
Functionality referenced here:
https://eclipse.dev/eclipse/news/4.12/platform.php
using Eclipse version:
https://download.eclipse.org/eclipse/downloads/drops4/R-4.28-202306050440/
the following command:
% open /Users/kharrington/bin/eclipse/Eclipse.app -a /Users/kharrington/Documents/bowler-workspace/gitcache/github.com/BancroftRoboDogs/LabCodeRepoSetup/
causes the following error:
The application /Users/kharrington/Documents/bowler-workspace/gitcache/github.com/BancroftRoboDogs/LabCodeRepoSetup cannot be opened for an unexpected reason, error=Error Domain=NSOSStatusErrorDomain Code=-10827 "kLSNoExecutableErr: The executable is missing" UserInfo={_LSLine=4101, _LSFunction=_LSOpenStuffCallLocal}
The directory referenced can be imported as an existing project through the UI.
Correcting for the new MacOS command line arguments:
% open /Users/kharrington/bin/eclipse/Eclipse.app --args /Users/kharrington/Documents/bowler-workspace/gitcache/github.com/BancroftRoboDogs/LabCodeRepoSetup/
causes Eclipse to open normal if not open, or receive a signal to bring the Eclipse window to the front. No error is printed. The project does not launch the import existing project wizard as the documentation suggests. This functionality is tested working on Linux and WIndows versions.
- The MacOS instructions in the original 4.12 feature announcement are incorrect
- there is no other known documented way to get the Eclipse.app to import a project via command line arguments passed from another program or script.
- The command line import is not documented in the core documentation: https://help.eclipse.org/latest/index.jsp?topic=%2Forg.eclipse.platform.doc.isv%2Freference%2Fmisc%2Fruntime-options.html
- It is also possible that this issue constitutes a bug, perhaps it should work but does not.
Tested on:
MacOS Ventura 13.4.1
Metadata
Metadata
Assignees
Labels
No labels