ant tar task: way to enable “tar append”?

陌路散爱 提交于 2019-12-24 08:08:20

问题


Goal: use ant to create a single tar archive for any combination of (say) 5 folders (all folders, or any 3 folders or any 4 folders ...). I prefer not using temp dirs and the copy command.

This should be simple if the ant tar task supports append.

A search lead me to:

Setting mode="update" in the compress antlib's tar task should do what is requested.

from: https://issues.apache.org/bugzilla/show_bug.cgi?id=39617

How do I know if 'antlib' is installed, or how do I install it. How does one set mode="update" - which file is chgd?.

-- What is the best way to enable "tar apend" in ant's tar task?

-- thanks

来源:https://stackoverflow.com/questions/7230389/ant-tar-task-way-to-enable-tar-append

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!