oyarzun commented on pull request #2563:
URL: https://github.com/apache/netbeans/pull/2563#issuecomment-765479028
@neilcsmith-net
> we need to consider how best to test it?
macOS users could test the launcher using their NetBeans 12.2 installation
by replacing the symlink (to the shell script) with the native launcher.
1. Get the launcher source from this PR in `nb/ide.launcher/macosx`.
2. Install Xcode if not already installed.
3. Compile the swift launcher.
```
cd nb/ide.launcher/macosx
swift build -c release
```
4. Replace launcher.
```
sudo rm /Applications/NetBeans/Apache\ NetBeans\
12.2.app/Contents/MacOS/netbeans
sudo cp .build/x86_64-apple-macosx/release/NetBeansLauncher
/Applications/NetBeans/Apache\ NetBeans\ 12.2.app/Contents/MacOS/netbeans
```
> Built like the Windows launcher may be better there
For the NetBeans launcher, I do not see this as a better approach right now.
Currently, there are bug fixes to native code that have been merged, but have
never been rebuilt and uploaded to https://netbeans.osuosl.org/binaries/.
For the RCP launcher, this is a must to allow RCP developers to be able to
package macOS app bundles on Windows or Linux.
Thankfully, @lbruun has begun to work on a solution to leverage GitHub
Actions to build the native code in PR #2700.
But there is still the issue of uploading the binaries to
https://netbeans.osuosl.org/binaries/. A manual procedure that needs to be
performed by a PMC member.
**NOTE apache/netbeans-jenkins-lib#23 also needs to be merged for the native
NB launcher to be built when generating the macOS installer.**
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists