gpt4 book ai didi

ant - 如何使用 ANT 脚本将文件复制到 zip 文件中?

转载 作者:行者123 更新时间:2023-12-02 04:38:53 33 4
gpt4 key购买 nike

我想使用 ANT 脚本将一些文件复制到现有的 zip 文件中。

有可用的任务吗?或者我是否需要解压缩 zip 文件,然后复制所需的文件并再次压缩?

最佳答案

直接来自documentation of the zip task :

The update parameter controls what happens if the ZIP file already exists. When set to yes, the ZIP file is updated with the files specified. (New files are added; old files are replaced with the new versions.)

关于ant - 如何使用 ANT 脚本将文件复制到 zip 文件中?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11016524/

33 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com