Re: Re: [ANNOUNCEMENT] MDB-0.9 (beta) Released.

From: Date: Fri, 03 May 2002 16:20:17 +0000
Subject: Re: Re: [ANNOUNCEMENT] MDB-0.9 (beta) Released.
References: 1  Groups: php.pear.dev php.pear.general 
Request: Send a blank email to pear-dev+get-5964@lists.php.net to get a copy of this message
Lukas, To fix the problem of MDB installing the root of the pear dir, your package should have the following change: ... <dir name="/" baseinstalldir="MDB"> ... Check the package.dtd (or package.xsd) in pear/XML_DTD/tests for more details on what elements/attributes should be used in package.xml You will also have to fix some of your files to include from that dir, e.g.: require_once "MDB/MDB.php"; require_once "MDB/common.php"; etc. Installing on the root dir is not good. As PHP does not have namespaces, a directory approach is needed to avoid conflicts among classes/files names. Will suggest a new release after all that is fixed. --- Christian Dickmann <chrisdicki@gmx.de> wrote: > > First packaged release of MDB > > Paths are wrong to my mind: > > --schnipp-- > installed file /usr/local/lib/php/MDB.php > installed file /usr/local/lib/php/common.php > installed file /usr/local/lib/php/mysql.php > installed file /usr/local/lib/php/lob.php > installed file /usr/local/lib/php/manager.php > installed file /usr/local/lib/php/parser.php > installed file /usr/local/lib/php/xml_parser.php > installed file /usr/local/lib/php/metabase_wrapper.php > installed file /usr/local/lib/php/pear_wrapper.php > installed file /usr/local/lib/php/Readme.txt > installed file /usr/local/lib/php/MDB_test.php > installed file /usr/local/lib/php/MDB_pear_wrapper_test.php > installed file /usr/local/lib/php/driver_test.php > installed file /usr/local/lib/php/driver_test_config.php > installed file /usr/local/lib/php/driver_test.schema > installed file /usr/local/lib/php/setup_test.php > installed file /usr/local/lib/php/lob_test.schema > installed file /usr/local/lib/php/test.schema > installed file /usr/local/lib/php/Var_Dump.php > --schnipp-- > > IMHO these files should be inside a dir named > DB/MDB or MDB > > Christian Dickmann > > > > -- > PEAR General Mailing List (http://pear.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > ===== --- Jesus M. Castagnetto (jcastagnetto@yahoo.com) Research: http://metallo.scripps.edu/ Personal: http://www.castagnetto.org/ __________________________________________________ Do You Yahoo!? Yahoo! Health - your guide to health and wellness http://health.yahoo.com

« previous php.pear.dev (#5964) next »