Re: Re: coding standards: Header Comment Blocks
| From: | Greg Beaver | Date: | Tue, 08 Jun 2004 03:32:15 +0000 |
| Subject: | Re: Re: coding standards: Header Comment Blocks | ||
| References: | 1 2 3 4 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-30123@lists.php.net to get a copy of this message | ||
Tomas V.V.Cox wrote:
You can use the PEAR package replace capabilities. Ex: * @version @package_version@ (CVS rev: $Id:$) and in package.xml <file name="Class.php"> <replace from="@package_version@" to="version" type="package-info"/> </file> '@pacakge_version@' will be replaced with the version extracted from you package.xml release file. Maybe to include the 'state' could be usefull too.This would be the best solution, in my view. Greg