包装用于部署跨平台? [英] Packaging to use to deploy cross-platform?

查看:148
本文介绍了包装用于部署跨平台?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Windows应用程序通常打包为MSI,在Redhat Linux作为RPM,什么是最好的开源打包方法,可用于将应用程序部署到所有平台,包括不同口味的unix和windows?



内容将包括exes,unix二进制文件,java jar文件,用户数据,甚至要运行的数据库脚本。



(我认识每个目标操作系统的内容会有所不同,即二进制文件会不同,win exe和unix binary等等,但是例如配置文件可能相同,或者在java的情况下甚至是字节码jars)



主要功能我希望支持的包装是不同用户和不同目录的权限,但是我认识到支持此功能的多平台可能非常困难。

解决方案

我有一个使用IzPack的客户端可以在Windows,OS X和Linux上安装他们的应用程序来创建一个安装程序(它是基于Java的)。



< a href =http://izpack.org/ =nofollow noreferrer> http://izpack.org/


On windows applications are typically packaged as MSI, on Redhat Linux as RPM, what would be a best open source packaging method that could be used to deploy applications to all platforms including different flavors of unix and windows?

Contents would include exes, unix binaries, java jar files, user data, even database scripts to be run.

(I recognize contents would vary per destination OS, ie. binaries would be different, win exe vs unix binary etc, but for example config files may be the same or in the case of java even the bytecode jars)

Key feature I'd like the packaging to support is different users and permissions for different directories, however I recognize supporting this feature multiplatform may be very difficult.

解决方案

I have a client that uses IzPack to create a single installer (it's Java-based) that installs their app on Windows, OS X and Linux.

http://izpack.org/

这篇关于包装用于部署跨平台?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆