You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by an...@apache.org on 2006/06/22 10:54:23 UTC
svn commit: r416301 - /lenya/trunk/src/resources/build/modules2build.xsl
Author: andreas
Date: Thu Jun 22 01:54:23 2006
New Revision: 416301
URL: http://svn.apache.org/viewvc?rev=416301&view=rev
Log:
Build process: Use ant target dependencies to resolve module dependencies
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=416301&r1=416300&r2=416301&view=diff
==============================================================================
--- lenya/trunk/src/resources/build/modules2build.xsl (original)
+++ lenya/trunk/src/resources/build/modules2build.xsl Thu Jun 22 01:54:23 2006
@@ -165,8 +165,15 @@
</target>
+ <xsl:variable name="dependencyList">
+ <xsl:for-each select="mod:depends">
+ <xsl:text>deploy-module-</xsl:text><xsl:value-of select="@module"/><xsl:text>, </xsl:text>
+ </xsl:for-each>
+ </xsl:variable>
+
<target name="deploy-module-{$id}"
- depends="compile-module-{$id}, copy-module-{$id}, patch-module-{$id}"/>
+ depends="{$dependencyList} compile-module-{$id}, copy-module-{$id}, patch-module-{$id}"/>
+
</xsl:template>
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
For additional commands, e-mail: commits-help@lenya.apache.org