On Thu, 6 Jul 2023 at 10:16, Eric Barboni <sk...@apache.org> wrote:
> Maybe we could extend to all installer including windows one (linux already 
> there).

Well, I've been in favour of that move for a while - in general moving
to native OS options.  The installer code in the repo is quite
outdated and causing issues, and the other problem is that it is in
the main repo at all.  Having the packager separately released to the
IDE means we can address some issues separately to the IDE release
vote (eg. we've had to give patching instructions for the macOS
installer build process before).

However, we really need to fix the Windows launcher to find a system
JDK first.  Installers writing to netbeans.conf is a problem anyway.
Unfortunately we can't even use something like --jdkhome %JAVA_HOME%
in the shortcut because the launcher doesn't like an ending slash.

> Maybe we should reworks the platform:
> We may use nbpackage in nbm plugin to generate "native installer" instead of 
> harness containing nbi installer that will at the end be invalid to install.
> (would be a mojo to support nbpackage)

Well, the API should work OK to do that, and I have started looking at
a Mojo myself.  Need to vote on and publish the release first ideally,
and of course it's not a platform neutral build option.  The Windows
installer can be built via Wine on Linux and macOS, but the others
rely on OS-specific tools.

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



Reply via email to