diff options
author | xue <> | 2006-04-30 12:51:23 +0000 |
---|---|---|
committer | xue <> | 2006-04-30 12:51:23 +0000 |
commit | ddfafaac2c1f18aca0fda3b4157acd935b9ac9a2 (patch) | |
tree | d131537413fa80aadf44feb8607eca6584e539f7 /buildscripts/phing | |
parent | 10b65d6d03ee0afc1ec1a50f320af42a79f5492b (diff) |
merge from 3.0 branch till 995.
Diffstat (limited to 'buildscripts/phing')
-rw-r--r-- | buildscripts/phing/tasks/BuildPradoPEARPackageTask.php | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/buildscripts/phing/tasks/BuildPradoPEARPackageTask.php b/buildscripts/phing/tasks/BuildPradoPEARPackageTask.php index 212c6f9c..0e764146 100644 --- a/buildscripts/phing/tasks/BuildPradoPEARPackageTask.php +++ b/buildscripts/phing/tasks/BuildPradoPEARPackageTask.php @@ -44,13 +44,14 @@ class BuildPradoPEARPackageTask extends MatchingTask { * @param PEAR_PackageFileManager2 $pkg */ private function setOptions($pkg) { - $options['baseinstalldir'] = 'prado'; + $options['baseinstalldir'] = 'prado3'; $options['packagedirectory'] = $this->dir->getAbsolutePath(); if(empty($this->filesets)) { throw new BuildException("You must use a <fileset> tag to specify the files to include in the package.xml"); } + // Use PEAR_PackageFileManager_Fileset from phing as file list generator $options['filelistgenerator'] = 'Fileset'; // Some Phing-specific options needed by our Fileset reader @@ -67,6 +68,7 @@ class BuildPradoPEARPackageTask extends MatchingTask { } else { $this->log("Creating [default] package.xml file in base directory.", PROJECT_MSG_INFO); } + $options['dir_roles'] = array('framework' => 'php'); $pkg->setOptions($options); } @@ -88,7 +90,7 @@ class BuildPradoPEARPackageTask extends MatchingTask { $this->setOptions($package); // the hard-coded stuff - $package->setPackage('prado'); + $package->setPackage('prado3'); $package->setSummary('PRADO is a component-based and event-driven framework for rapid Web programming in PHP 5.'); $package->setDescription('PRADO reconceptualizes Web application development in terms of components, events and properties instead of procedures, URLs and query parameters. @@ -117,7 +119,9 @@ o Team Integration - PRADO enables separation of content and presentation. Compo $package->setLicense('BSD', 'http://www.opensource.org/licenses/bsd-license.php'); // Add package maintainers - $package->addMaintainer('lead', 'xue', 'Qiang Xue', 'qiang.xue@gmail.com'); + $package->addMaintainer('lead', 'qxue', 'Qiang Xue', 'qiang.xue@gmail.com'); + $package->addMaintainer('lead', 'jrags', 'Jason Ragsdale', 'jrags@jasrags.net'); + $package->addMaintainer('lead', 'knut', 'Knut Urdalen', 'knut.urdalen@gmail.com'); // "core" dependencies $package->setPhpDep('5.0.0'); |