Can you use the ANT build file as a Phing build file?

I just started playing with Phing build scripts (built with PHP). From what I read, Phing is based on Apache Ant (built in Java).

Both use XML assembly files and have similar syntax, so I ask someone with experience if I find the Ant assembly file in Github or elsewhere, can it be used in a Phing script without changing the syntax is this any? How to drop an XML file that will work with Ant or Phing? Or are there differences?

+5
source share
1 answer

There are a few minor differences. I would recommend taking the ant build file, and for each goal, find the name of the target in the phing documentation to make sure it is the same or not. I can't remember from my head, but you can't just let it in. There are also some phing only those things that you can do related to php, e.g. phpdoc target, etc.

+6
source

All Articles