tasks/ext/PearPackage2Task.php

Show: inherited
Table of Contents

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

Package: phing\tasks\ext

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.

Parent(s)
\PearPackageTask < \MatchingTask < \Task < \ProjectComponent
Author
Stuart Binge  
Author
Hans Lellelid  
Version
$Id: PearPackage2Task.php 862 2010-09-15 02:17:59Z victor $  

Methods

methodpublic__construct( ) : void

methodpublicappendSelector( ) : void

methodpubliccreateAnd( ) : void

methodpubliccreateContains( ) : void

methodpubliccreateCustom( ) : void

methodpubliccreateDate( ) : void

methodpubliccreateDepend( ) : void

methodpubliccreateDepth( ) : void

methodpubliccreateExclude( ) : void

methodpubliccreateExcludesFile( ) : void

methodpubliccreateFileSet( ) : void

methodpubliccreateFilename( ) : void

methodpubliccreateInclude( ) : void

methodpubliccreateIncludesFile( ) : void

methodpubliccreateMajority( ) : void

methodpubliccreateMapping( ) : void

methodpubliccreateNone( ) : void

methodpubliccreateNot( ) : void

methodpubliccreateOption( ) : void

methodpubliccreateOr( ) : void

methodpubliccreatePatternSet( ) : void

methodpubliccreatePresent( ) : void

methodpubliccreateRole( ) : void

methodpubliccreateSelector( ) : void

methodpubliccreateSize( ) : void

methodpublicgetDescription( ) : void

methodprotectedgetDirectoryScanner( ) : void

methodpublicgetFileSets( ) : void

methodprotectedgetImplicitFileSet( ) : void
final

methodpublicgetLocation( ) : void

methodpublicgetOwningTarget( ) : void

methodpublicgetProject( ) : void

methodprotectedgetRegisterSlot( ) : void

methodpublicgetRuntimeConfigurableWrapper( ) : void

methodpublicgetSelectors( ) : void

methodpublicgetTaskName( ) : void

methodpublicgetTaskType( ) : void

methodpublichasSelectors( ) : void

methodpublicinit( ) : void

methodpubliclog( ) : void

methodpublicmain( ) : void

Main entry point.

methodpublicmaybeConfigure( ) : void

methodpublicperform( ) : void

methodpublicselectorCount( ) : void

methodpublicselectorElements( ) : void

methodpublicsetCaseSensitive( ) : void

methodpublicsetDefaultexcludes( ) : void

methodpublicsetDescription( ) : void

methodpublicsetDestFile( ) : void

methodpublicsetDir( ) : void

methodpublicsetExcludes( ) : void

methodpublicsetExcludesfile( ) : void

methodpublicsetFollowSymlinks( ) : void

methodpublicsetIncludes( ) : void

methodpublicsetIncludesfile( ) : void

methodpublicsetLocation( ) : void

methodpublicsetName( ) : void

methodprotectedsetOptions( ) : void

methodpublicsetOwningTarget( ) : void

methodpublicsetPackage( ) : void

methodpublicsetProject( ) : void

methodpublicsetRuntimeConfigurableWrapper( ) : void

methodpublicsetTaskName( ) : void

methodpublicsetTaskType( ) : void

methodprotectedsetVersion2Options( ) : void

Documentation was generated by DocBlox 0.17.1.