Re: Proposal: A need for simple development helping tools/scripts

From: Date: Wed, 11 Jun 2003 22:41:32 +0000
Subject: Re: Proposal: A need for simple development helping tools/scripts
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-17335@lists.php.net to get a copy of this message
--- "Tomas V.V.Cox" <cox@idecnet.com> wrote: > > ----- Original Message ----- > From: "Jesus M. Castagnetto" <jcastagnetto@yahoo.com> > > > > I remember that Greg mentioned that he built a script to generate a > package.xml > > file. That would be a boon for PEAR packages with a complex tree. I saw > that > > script in the phpDocumentor's CVS tree (scripts/create_package.xml), and > with > > some little tinkering it could be adapted to be general. > > > > Ideas/suggestions/pointers/recommendations? > > Some pointers: > > php4/pear/PEAR/Common.php methods: > > infoFromDescriptionFile(): reads a package.xml file and returns its > information as an array. > xmlFromInfo(): takes an array (with the format of the infoFrom*() methods) > and builds the package.xml file. Nope not that type. Something along the lines of generating a package.xml from the directory tree automagically. Not from a manually constructed array ;-) Check: http://cvs.joshuaeichorn.com/co.php/phpdoc/scripts/create_package.xml.php?r=1.22 That can be modified to be used in newer programs to jump-start the package writting. As for putting all the devel tools in a package, I guess it would OK too. I can contribute my ugly (but working) script to generate a skeleton for a unit test class (just to save some typing ;-), it is in Math_Stats/test/mkUnitTest.php. Cheers ===== --- Jesus M. Castagnetto (jcastagnetto@yahoo.com) Research: http://metallo.scripps.edu/ Personal: http://www.castagnetto.org/ __________________________________ Do you Yahoo!? Yahoo! Calendar - Free online calendar with sync to Outlook(TM). http://calendar.yahoo.com

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