[PEAR-BUG] Bug #17579 [NEW]: Pyrus Developer PackageFile bug

[email protected] ("warnar at dmmw dot nl") Mon, 12 Jul 2010 08:18:58 +0000 (GMT)
Newsgroups php.pear.doc,php.pear.doc
Message-ID <[email protected]>
From:             boekkooi
Operating system: Windows 7 x64
Package version:  
PHP version:      5.3.1
Package:          Documentation
Bug Type:         Bug
Bug description:  Pyrus Developer PackageFile bug

Description:
------------
When running 'php -dphar.readonly=0 C:\pear\repo\pyrus.phar package' for a
new package this fauls with the exception 'Cannot locate
PEAR2/Exception.php in phar://C:/pe
ar/repo/pyrus.phar/PEAR2_Pyrus-2.0.0a1/php/pear2/'.

The way to fix this is goto:
@plugins_dir@\php\PEAR2\Pyrus\Developer\PackageFile\Commands.php - Line 230
and change '/pear2' to '/PEAR2'

Test script:
---------------
php  -dphar.readonly=0 C:\pear\repo\pyrus.phar package --phar --tgz

Expected result:
----------------
No exception.

Actual result:
--------------
Exception: Cannot locate PEAR2/Exception.php
-- 
Edit bug report at http://pear.php.net/bugs/bug.php?id=17579&edit=1
--