使用ANT任务将文件解压到同名目录

问题描述

本质上我试图这样做 Ant unzip/unwar with the same directory name as the file name 但有多个文件。 解压缩任务不接受目录作为有效的“src”属性

这些映射器都没有提供附加文件http://ant.apache.org/manual/Types/mapper.html

而且我不知道如何遍历文件集以单独解压缩。 (我应该添加我用 maven-antrun-plugin 来做这件事)

这个问题表明ANT认做了我想要的,但它是不正确的Ant unzip task - how can I exclude the archive name from extracted hierarchy?

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)