classes/phing/tasks/ext/PearPackage2Task.php

A task to create a PEAR package.xml version 2.0 file.

This class uses the PEAR_PackageFileManager2 class to perform the work.

This class is designed to be very flexible -- i.e. account for changes to the package.xml w/o requiring changes to this class. We've accomplished this by having generic

The

The tag represents a complex data type. You can use nested (and nested with tags) to represent the full complexity of the structure. Bear in mind that what you are creating will be mapped to an associative array that will be passed in via PEAR_PackageFileManager2::setOptions().

Here's an over-simple example of how this could be used:

Look at the build.xml in the Phing base directory (assuming you have the full distro / CVS version of Phing) to see a more complete example of how to call this script.

author
Stuart Binge
author
Hans Lellelid
package
phing.tasks.ext
version
$Id: PearPackage2Task.php 862 2010-09-15 02:17:59Z victor $

\PearPackage2Task

A task to create a PEAR package.xml version 2.0 file.

This class uses the PEAR_PackageFileManager2 class to perform the work.

This class is designed to be very flexible -- i.e. account for changes to the package.xml w/o requiring changes to this class. We've accomplished this by having generic

The

The tag represents a complex data type. You can use nested (and nested with tags) to represent the full complexity of the structure. Bear in mind that what you are creating will be mapped to an associative array that will be passed in via PEAR_PackageFileManager2::setOptions().

Here's an over-simple example of how this could be used:

Look at the build.xml in the Phing base directory (assuming you have the full distro / CVS version of Phing) to see a more complete example of how to call this script.

Extends from
\PearPackageTask
author
Stuart Binge
author
Hans Lellelid
copyright
2001,2002 THYRELL. All rights reserved
package
phing.tasks.ext
version
$Id: PearPackage2Task.php 862 2010-09-15 02:17:59Z victor $

Methods

methodpublic  init( ) :
methodpublic  main( ) : void
Main entry point.
methodprotected  setVersion2Options( ) :
Documentation was generated by DocBlox 0.13.1.