summaryrefslogtreecommitdiff
path: root/buildscripts
diff options
context:
space:
mode:
authorknut <>2006-04-30 09:41:26 +0000
committerknut <>2006-04-30 09:41:26 +0000
commit78451f23782b7c9d5464fdb8a4e25b6e5ac67ac6 (patch)
treee873ef8d9653a9158f72b333a72d6aba9d631881 /buildscripts
parent44e400432fc05ad6c09d83211e3420af39cbf66b (diff)
Some modification regards PEAR packaging
Diffstat (limited to 'buildscripts')
-rw-r--r--buildscripts/phing/tasks/BuildPradoPEARPackageTask.php10
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');