Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.10.16

Bug #4458 packaging error message better description
Submitted: 2005-05-28 05:30 UTC
From: alan_k Assigned: cellog
Status: Closed Package: PEAR
PHP Version: Irrelevant OS: linux
Roadmaps: (Not assigned)    
Subscription  


 [2005-05-28 05:30 UTC] alan_k
Description: ------------ See: http://cvs.php.net/co.php/pecl/svn/package2.xml?r=1.1 It's outputting Error: Invalid tag order in <dir name="/">, found <dir> expected one of "file" Parsing of package.xml from file "package2.xml" failed Cannot package, errors in package file No idea how to fix that one..

Comments

 [2005-05-28 22:13 UTC] cellog
this error message does suck. The problem here is that <dir> tags must be first, followed by <file> tags. This enforces a simple visual layout where directories are nested first, and then reduce to files. The decision was arbitrary, it could just as easily have been the other way.
 [2005-05-28 22:31 UTC] cellog
This bug has been fixed in CVS. In case this was a documentation problem, the fix will show up at the end of next Sunday (CET) on pear.php.net. In case this was a pear.php.net website problem, the change will show up on the website in short time. Thank you for the report, and for helping us make PEAR better.
 [2005-05-29 02:32 UTC] alan_k
Can this be changed? Structuring the file in this way is far clearer.. I list all the core files in my package first, then later on the examples and docs etc...
 [2005-05-29 03:12 UTC] cellog
This bug has been fixed in CVS. In case this was a documentation problem, the fix will show up at the end of next Sunday (CET) on pear.php.net. In case this was a pear.php.net website problem, the change will show up on the website in short time. Thank you for the report, and for helping us make PEAR better.