Hi All, The other week I was working on the latest release of PraxisLIVE, my other IDE project based on top of the NetBeans platform. Rather than building releases locally as in the past, I decided to work on forking the community installer GitHub workflow to handle this instead. I thought I'd share a link in case it's of use to other platform projects using, or thinking of using, the Apache NetBeans NBPackage tool in this way.
https://github.com/codelerity/praxislive-installers Like the community installer workflow, the logic to download NBPackage, the application and the JDK is in a single source Java file. The links and hashes for the downloads are in the build.properties file. The source file then executes NBPackage with the expected configuration from the config folder. The workflow is set up to use secrets for macOS signing if configured. Windows signing is still handled locally because Azure trusted signing is not available in Europe at the moment - the workflow could be easily adapted to add this. The config files use various features of NBPackage that exist mainly for the platform, and are not used by the community IDE installers. Icons are changed on all OS. A custom version of the InnoSetup template is used on Windows, and custom Info and entitlements on macOS (templates can be exported from NBPackage using --save-templates). The macOS configuration also updates the glob pattern of JARs that will have their native files deep signed to pass notarization. The various Linux packages use the package.merge property to include additional files from the linux_merge folder in the package (in this case a launcher for the underlying PraxisCORE actor system). Feel free to make use of any configuration from the above repo as a starting point, and if there's anything missing in NBPackage for your use case, please ask or open an issue at https://github.com/apache/netbeans-nbpackage Best wishes, Neil --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@netbeans.apache.org For additional commands, e-mail: dev-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists