蚂蚁耳朵更新没有完全爆炸耳 [英] Ant Ear Update Without Full Exploding Ear

查看:153
本文介绍了蚂蚁耳朵更新没有完全爆炸耳的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用蚂蚁1.8.2和我有一个大的EAR文件。

I'm using ant 1.8.2 and I have a large Ear file.

根据安装过程中用户选择所需要的耳朵的微小变化。

Slight changes to the ear are needed, depending on user selection during install.

在安装过程结束时,我运行Ant脚本的更新根据用户的选择耳朵。这些文件只被包括在耳中,如果用户已经相关的许可...这样的更新是必要的。

At the end of the install process, I run an ant script which updates the ear based on the user's selections. These files are only to be included in the ear, if the user has related licensing... so the update is necessary.

目前我炸响整个耳朵,添加必要的文件,然后使更新的耳朵。

Currently I'm exploding the whole ear, adding the necessary files, then making the updated ear.

我希望能找到一种方法,我可以删除和/或添加文件,而不必经过整个解压/更新/ ZIP过程。

I'm hoping to find a way in which I can remove and/or add files without having to go through the whole unzip/update/zip process.

推荐答案

耳任务< /一>有一个更新属性,该属性可以设置为true。

The ear task has an update attribute, which you can set to true.

这样的文件将被添加到现有的压缩文件,而不是创建一个新的。

This way files will be added to the existing zipfile, instead of creating a new one.

这篇关于蚂蚁耳朵更新没有完全爆炸耳的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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