更新Jar/程序的库 [英] Updating library for Jar/Programs
问题描述
我正在寻找我正在开发的软件的更新库.这是一个小型软件,但我想让它具有一些不错的功能.其中之一是自动更新.我已经开发了2类库来为我完成这项工作,但是我想要一个更强大的库,因为它缺少一些功能.在库可能具有的功能之间,可能在其中:
I'm looking for an update library for the software I am developing. It's a small software, but I'd like to imbue it with some nice features. One of those is auto-update. I've developed 2 class library to do this job for me, but I'd like a more robust library, becuase it's missing some features. Between the features the library could have, these could be in it:
- 基于旧版本(例如jar)生成差异文件.给定jar的当前版本和新的jar文件,生成一个新的jar,客户端将下载该jar,仅放入自上次更新以来已更改的文件.
- 检查某种校验和. JAR中的每个文件都有自己的校验和,或者整个jar都有校验和.
- 生成那些校验和.如果可能的话,在参加第一个项目时.给定新文件,逐个文件或逐个jar.
- 如果输入是文件夹或罐子,也可以处理,那就太好了.
- 将当前的jar与下载的jar合并.
P.S .:我不是在编写基于Web的(在浏览器中运行的)应用程序.
P.S.: I'm not writing a web-based (that runs in a browser) application.
感谢您的关注.
推荐答案
Found the perfect solution for my needs in this answer: java web start alternative
请查看此软件 https://code.google.com/p/getdown/它声称它可以是GCJ,也可以用于更新非Java应用程序.但这确实满足了我的期望!
Please take a look at this software https://code.google.com/p/getdown/ It claims it can be GCJ and be used to update also non-Java applications. But this does fills my expectations!
这篇关于更新Jar/程序的库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!