Phing task

Phing task

Description

Task to process phing (see: www.phing.info). Phing v2.16.1 is embedded within ant4x.jar.

Phing task parameters

Attribute Description Value Required
file the phing build file no, if default build-phing.xml exists
target the phing target no, if default target is set

Examples

/!\ php must be installed on the system and set up in the PATH.

<project name="phing task"> 

  <taskdef name="phing" 
       classname="net.sourceforge.ant4x.taskdefs.php.PhingTask" 
       classpath="PATH/TO/ant4x.jar"/> 

  <target name="phing"> 
    <phing file="build-phing.xml" target="todo" />
  </target> 

</project>