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/04/18 19:34:00 UTC

[zeta-commits] svn commit: r1094702 - /incubator/zetacomponents/website/Pakefile

Author: jeromer
Date: Mon Apr 18 19:34:00 2011
New Revision: 1094702

URL: http://svn.apache.org/viewvc?rev=1094702&view=rev
Log:
- Fixed incorrect tokens

Modified:
    incubator/zetacomponents/website/Pakefile

Modified: incubator/zetacomponents/website/Pakefile
URL: http://svn.apache.org/viewvc/incubator/zetacomponents/website/Pakefile?rev=1094702&r1=1094701&r2=1094702&view=diff
==============================================================================
--- incubator/zetacomponents/website/Pakefile (original)
+++ incubator/zetacomponents/website/Pakefile Mon Apr 18 19:34:00 2011
@@ -250,11 +250,14 @@ function run_extractphpdoc( $task, $args
             $rule, "${phpDocRootDir}/${componentName}", $phpDocComponentDir
         );
 
-        $patterns = array( "#../#", '#"(\.\./)?([a-zA-Z]*)"#');
+        $patterns = array(
+            "#../${componentName}/#",
+            '#"(\.\./)?([a-zA-Z]*)/#'
+        );
 
         $replacements = array(
-             "${componentName}/",
-             '/zetacomponents/documentation/' . $options['build.name'] . '/\2/phpdoc/',
+             '',
+             '"/zetacomponents/documentation/' . $options['build.name'] . '/\2/phpdoc/',
         );
 
         $xmlContents  = '';