1
我想使用ant脚本复制目录与它的内容,我也想设置当前日期作为目标上的目录名称。蚂蚁复制目录并将名称添加到目标
这是我写的剧本:
<property name="current_date" value="${build.date}"/>
<copy todir="T:/Ali/backup/reports/${current_date}">
<fileset dir="log/current" />
</copy>
目的地执行ant脚本 目录名称后$ {CURRENT_DATE},而不是实际的当前名称。
任何帮助!