incubator-zeta-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jero...@apache.org
Subject [zeta-commits] svn commit: r1099946 - /incubator/zetacomponents/website/Pakefile
Date Thu, 05 May 2011 20:04:29 GMT
Author: jeromer
Date: Thu May  5 20:04:29 2011
New Revision: 1099946

URL: http://svn.apache.org/viewvc?rev=1099946&view=rev
Log:
- Fixed incorrect patterns for run_extractphpdoc

Modified:
    incubator/zetacomponents/website/Pakefile

Modified: incubator/zetacomponents/website/Pakefile
URL: http://svn.apache.org/viewvc/incubator/zetacomponents/website/Pakefile?rev=1099946&r1=1099945&r2=1099946&view=diff
==============================================================================
--- incubator/zetacomponents/website/Pakefile (original)
+++ incubator/zetacomponents/website/Pakefile Thu May  5 20:04:29 2011
@@ -259,13 +259,13 @@ function run_extractphpdoc( $task, $args
         );
 
         $patterns = array(
-            "#../${componentName}/#",
-            '#"(\.\./)?([a-zA-Z]*)/#'
+            '@="../' . $componentName . '/([a-zA-Z0-9]+\.html(#[a-zA-Z0-9$_]+)?)"@',
+            '@="(?:\.\./)?([a-z]+)/([a-zA-Z0-9]+\.html(#[a-zA-Z0-9$_]+)?)"@i'
         );
 
         $replacements = array(
-             '',
-             '"/zetacomponents/documentation/' . $options['build.name'] . '/\2/phpdoc/',
+            '="\1"',
+            '="/zetacomponents/documentation/' . $options['build.name'] . '/\1/phpdoc/\2"'
         );
 
         $xmlContents  = '';



Mime
View raw message