I have modified the creation of the pkg file in the fork I created here: https://github.com/carljmosca/incubator-netbeans
Checkout the package-macos branch, run "ant package-macos" The "NetBeans 9.pkg" file should be in the nbbuild/MacOS directory if the build succeeds. Previously, I was using the dmg format (without putting a pkg in the dmg as I believe was done in the 8.2 release). I thank Tim for his feedback, along with all the other opinions. I don't think this is close to being "done" (I like Tim's idea of making a pkg less platform specific) and I think the generation of the package needs to attention (variables, generation of files, locations come to mind). But I would appreciate feedback as time and interest permits. This has been, at least for me, a positive conversation and a nice way to get a bit more familiar with what goes into making NetBeans my favorite Java IDE (for some years). Carl On Tue, Aug 14, 2018 at 10:13 PM Scott Palmer <[email protected]> wrote: > In the spirit of sharing various macOS install methods, I give you my > “GetNetBeans” script: > > https://gist.github.com/swpalmer/1390e7bdb9054f327bdc7d8fb8692c51 < > https://gist.github.com/swpalmer/1390e7bdb9054f327bdc7d8fb8692c51> > > > Run it on macOS and magically you will have a NetBeans 9.0 application > bundle. > > It should download from the recommended mirror, create the application > bundle, put the original .zip in the trash and open a Finder window so you > can drag the app bundle where you wish. > > Only tested on my system, and it has no error checking whatsoever. > > Regards, > > Scott > > > On Aug 14, 2018, at 9:20 PM, David Green <[email protected]> wrote: > > > > On 14 Aug 2018, at 17:40, Geertjan Wielenga wrote: > > > >> where is your DMG solution? > > > > Hi. As another one watching from the sidelines, I offer a piece of the > puzzle (or a bandaid)... > > > > https://github.com/dgreen/nb9dmg > > > > which will make a DMG if you already have a > /Applications/NetBeans/NetBeans 9.app install (like is done by Carlos > Mosca's netbeans-mac-os tool on github). > > > > Note that the DMG will provide Drag & Drop into /Applications/NetBeans > 9.app not /Applications/NetBeans/NetBeans 9.app > > > > There is also a dependency (via dmgbuild of the MacOS program hdiutil). > > > > It works for me but that is very limited testing. > > > > Regards, > > > > Dave Green > > -- Carl J. Mosca
