You are viewing a plain text version of this content. The canonical link for it is here.
Posted to zeta-commits@incubator.apache.org by je...@apache.org on 2011/05/05 20:04:29 UTC
[zeta-commits] svn commit: r1099946 - /incubator/zetacomponents/website/Pakefile
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 = '';