Phing 能做什么而 Ant 不能?

Phing 能做什么而 Ant 不能?

问题描述:

我正在做 PHP 开发,我正在考虑使用其中之一.我的机器上同时安装了 PHP 和 Java.理论上我可以使用两者中的任何一个.

I'm doing PHP development and I'm thinking of using one of these. I have both PHP and Java installed on my machine. In theory I could use any of the two.

选择 Phing 而不是 Ant 的有说服力的论据是什么?

What are the compelling arguments to pick Phing over Ant?

我赞成 Phing 的最大论点是它完全用 PHP 开发;这意味着,至少:

The greatest argument I have in favor of Phing is that it's fully developed in PHP ; which means, at least :

  • 如果需要,您可以调试它/提交补丁
  • 您可以用 PHP 开发任务
    • 包括特定于您的项目的任务
    • 可以使用您项目中的东西(我已经在基于 drupal 的项目中编写了几个使用 Drupal 功能的任务)
    • 而且,如果您正在从事 PHP 项目,您的团队可能非常了解 PHP -- 而他们可能不了解 Java