charphi commented on issue #158:
URL: 
https://github.com/apache/netbeans-mavenutils-nbm-maven-plugin/issues/158#issuecomment-2009615683

   My experience so far with platform applications is that the 
platform-independent package (the zip file generated by the nbm-application 
packaging) must be created on Linux in order to set the right permissions on 
the execution files. That is my first step.
   
   The second step for me is to copy that zip file, bundle a Java runtime 
inside it and update its config file to use that specific runtime. I'm able to 
achieve this step on any platform by merging two archives together (application 
and JDK) instead of uncompressing them on the file system (which is the 
behavior of Maven assembly). That's what I mean by "cross-platform package 
building". Of course, these are all zip files, not installers.
   
   I'm planning to add JReleaser as a third step to distribute the application 
([as a simple 
binary](https://jreleaser.org/guide/latest/concepts/distributions/binary.html)).


-- 
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.

To unsubscribe, e-mail: [email protected]

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

Reply via email to