开发者

MoveTask in phing to slow

开发者 https://www.devze.com 2023-03-04 18:31 出处:网络
Currently building a build process with phing. Each time I want to deploy to live, I move the staging version with the following command

Currently building a build process with phing. Each time I want to deploy to live, I move the staging version with the following command

<move file="${next_version}" tofile="${current_version}" />

but, since move kind of inherits from copy (as stated in the documentation), this procedure really takes some time and is not comparible to any shell move command. Is there a m开发者_JAVA百科etter way to call move, or do I have to fallback to the execTask (seeing no sense in move then, at least in that case)

Thanks in advance


The move task really copies files, which is crap. Please open a feature request on the phing bug tracker.

0

精彩评论

暂无评论...
验证码 换一张
取 消