I use LibGDX Packr , but it uses the JVM that you pack with your application, not the JVM installed on the operating system. Since I prefer to provide real GNU Linux packages, I use JDeb and Redline RPM . I will need to find a solution to create an MSI package for Windows.
These tools are cross-platform, which means you don’t need to be under Mac OS X to create an .app file, you don’t have to be under Windows to create an archived file with a built-in Windows launcher, you don’t have to be under GNU Linux for creating GNU Linux packages.
I use Ant as a build tool, but you can do the same with Maven, JDeb and Redline RPM supports it by writing the Ant task for LibGDX Packr quite easily. I still hesitate to put my deployment tools at a high level in a separate library when I will be able to use JDeb and Redline RPM correctly. I would like to use a homogeneous syntax to allow the developer to use the same parameters to create all their own packages. In addition, my code creates .icns files for you, it is very useful when you do not want to depend on your own Mac OS X tools or on any external applications, this is based on my Apache Commons Imaging patch.
PS: I put my own tool (JNDT) in a separate Ant script a few months ago, its documentation is here .
source share