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

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

问题描述

我使用的是 ant 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.

我希望找到一种方法,无需经过整个解压缩/更新/压缩过程即可删除和/或添加文件.

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.

推荐答案

耳朵任务 有一个 update 属性,您可以将其设置为 true.

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

这样文件将被添加到现有的 zipfile 中,而不是创建一个新的.

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

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

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