svn commit: r729530 - /lenya/trunk/src/resources/build/modules2build.xsl

[email protected]
Newsgroups gmane.comp.cms.lenya.cvs
Message-ID <[email protected]>
Author: andreas
Date: Fri Dec 26 12:18:58 2008
New Revision: 729530

URL: http://svn.apache.org/viewvc?rev=729530&view=rev
Log:
Allow to use xtest files in modules.

Modified:
    lenya/trunk/src/resources/build/modules2build.xsl

Modified: lenya/trunk/src/resources/build/modules2build.xsl
URL: http://svn.apache.org/viewvc/lenya/trunk/src/resources/build/modules2build.xsl?rev=729530&r1=729529&r2=729530&view=diff
==============================================================================
--- lenya/trunk/src/resources/build/modules2build.xsl (original)
+++ lenya/trunk/src/resources/build/modules2build.xsl Fri Dec 26 12:18:58 2008
@@ -350,6 +350,10 @@
         <xsl:attribute name="depends"><xsl:value-of select="$testDependencyList"/></xsl:attribute>
       </xsl:if>
       <mkdir dir="${{build.dir}}/modules/{$id}"/>
+      <copy todir="${{build.dir}}/modules/{$id}">
+        <fileset dir="{$src}"
+          includes="config/cocoon-xconf/*.xtest, config/cocoon-xconf/*/*.xtest"/>
+      </copy>
       <xslt basedir="{$src}"
         includes="config/cocoon-xconf/*.xconf, config/cocoon-xconf/*/*.xconf"
         destdir="${{build.dir}}/modules/{$id}"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.