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/12 09:09:25 UTC

[zeta-commits] svn commit: r1091329 - /incubator/zetacomponents/website/build.xml

Author: jeromer
Date: Tue Apr 12 09:09:24 2011
New Revision: 1091329

URL: http://svn.apache.org/viewvc?rev=1091329&view=rev
Log:
- The tutorial target now works on the correct files
# The ucfirst thingy still does not work though

Modified:
    incubator/zetacomponents/website/build.xml

Modified: incubator/zetacomponents/website/build.xml
URL: http://svn.apache.org/viewvc/incubator/zetacomponents/website/build.xml?rev=1091329&r1=1091328&r2=1091329&view=diff
==============================================================================
--- incubator/zetacomponents/website/build.xml (original)
+++ incubator/zetacomponents/website/build.xml Tue Apr 12 09:09:24 2011
@@ -120,12 +120,9 @@
     <target name="tutorials" description="Copies tutorials for a given release to the website directory.">
         <copy todir="content/documentation/${build.name}">
             <fileset dir="${zeta.base}" casesensitive="yes">
-                <include name="**"/>
-                <exclude name="autoload/**"/>
-                <exclude name="run-tests-tmp/**"/>
-                <exclude name="**/tests/**"/>
-                <exclude name=".rat-ignore"/>
+                <include name="**/docs/"/>
             </fileset>
+            <mapper type="regexp" from="([A-Z-a-z]*)/docs/(.*)" to="\1/\2"/>
         </copy>
 
         <echo message="Generating index files ..."/>
@@ -152,7 +149,7 @@
                     </then>
                 </if>
 
-                <var name="${xml.string}"
+                <var name="xml.string"
                      value="${xml.string} &lt;directory&gt;&lt;name&gt;API&lt;/name&gt;&lt;path&gt;phpdoc/&lt;/path&gt;&lt;/directory&gt;"/>
 
                  <!-- listing .txt files per component -->