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 2008/11/19 23:46:16 UTC
svn commit: r719111 -
/lenya/sandbox/access_control_redesign/src/resources/build/modules2build.xsl
Author: andreas
Date: Wed Nov 19 14:46:16 2008
New Revision: 719111
URL: http://svn.apache.org/viewvc?rev=719111&view=rev
Log:
Allow to execute buildfiles in modules.
Modified:
lenya/sandbox/access_control_redesign/src/resources/build/modules2build.xsl
Modified: lenya/sandbox/access_control_redesign/src/resources/build/modules2build.xsl
URL: http://svn.apache.org/viewvc/lenya/sandbox/access_control_redesign/src/resources/build/modules2build.xsl?rev=719111&r1=719110&r2=719111&view=diff
==============================================================================
--- lenya/sandbox/access_control_redesign/src/resources/build/modules2build.xsl (original)
+++ lenya/sandbox/access_control_redesign/src/resources/build/modules2build.xsl Wed Nov 19 14:46:16 2008
@@ -153,6 +153,13 @@
<xsl:param name="src"/>
<xsl:variable name="id" select="mod:id"/>
<xsl:variable name="shortname" select="substring(mod:id, string-length(mod:package) + 2)"/>
+
+ <available file="{$src}/build.xml" property="prepare.module.{$id}"/>
+ <target name="prepare-module-{$id}" if="prepare.module.{$id}">
+ <ant antfile="{$src}/build.xml">
+ <property name="module.dir" value="{$src}"/>
+ </ant>
+ </target>
<target name="validate-module-{$id}">
<jing rngfile="{$module-schema}" file="{$src}{$configFile}"/>
@@ -292,7 +299,7 @@
</xsl:variable>
<target name="deploy-module-{$id}"
- depends="{$dependencyList} validate-module-{$id}, compile-module-{$id}, copy-module-{$id}, patch-module-{$id}"/>
+ depends="{$dependencyList} prepare-module-{$id}, validate-module-{$id}, compile-module-{$id}, copy-module-{$id}, patch-module-{$id}"/>
<!-- ============================================================ -->
<!-- Javadocs -->
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
For additional commands, e-mail: commits-help@lenya.apache.org