我有一个像这样的文件夹结构:
/PROJECT/PROJECT.html
/PROJECT/PROJECT_readme.txt
/PROJECT/PROJECT.css
/PROJECT/PROJECT.js
/PROJECT/abc_PROJECT_def.txt
/PROJECT/something.js
/PROJECT/other.txt
/PROJECT/somefolder/PROJECT_other.txt
我想使用 ANT 复制完整目录,并将文件或文件夹中的 PROJECT 字符串更改为指定值,例如 mysuperproject,因此结果文件夹结构如下:
/mysuperproject/mysuperproject.html
/mysuperproject/mysuperproject_readme.txt
/mysuperproject/mysuperproject.css
/mysuperproject/mysuperproject.js
/mysuperproject/abc_mysuperproject_def.txt
/mysuperproject/something.js
/mysuperproject/other.txt
/mysuperproject/somefolder/mysuperproject_other.txt
在 ANT 中是否有一种简单的方法可以做到这一点?