[Yanel-commits] rev 27872 - public/yanel/trunk/src/build
michi at wyona.com
michi at wyona.com
Tue Oct 2 09:42:16 CEST 2007
Author: michi
Date: 2007-10-02 09:42:16 +0200 (Tue, 02 Oct 2007)
New Revision: 27872
Modified:
public/yanel/trunk/src/build/yanel2realms.xsl
Log:
copy dependencies of realms added
Modified: public/yanel/trunk/src/build/yanel2realms.xsl
===================================================================
--- public/yanel/trunk/src/build/yanel2realms.xsl 2007-10-02 07:40:13 UTC (rev 27871)
+++ public/yanel/trunk/src/build/yanel2realms.xsl 2007-10-02 07:42:16 UTC (rev 27872)
@@ -89,6 +89,27 @@
</target>
</xsl:for-each>
+<xsl:comment>Copy dependencies of realms</xsl:comment>
+ <target name="copy-dependencies" description="Copy dependencies of realms" depends="init">
+<xsl:for-each select="/yanel:realms/yanel:realm">
+ <condition property="build-dir-of-realm-with-id-{@id}-exists">
+ <available file="{yanel:config/@src}/build" type="dir"/>
+ </condition>
+ <antcall target="copy-dependencies-of-realm-with-id-{@id}"/>
+</xsl:for-each>
+ </target>
+
+<xsl:for-each select="/yanel:realms/yanel:realm">
+<target name="copy-dependencies-of-realm-with-id-{@id}" description="Copy dependencies of realm {@id}" depends="init" if="build-dir-of-realm-with-id-{@id}-exists">
+ <ant inheritAll="false" antfile="{yanel:config/@src}/build.xml" target="copy-dependencies">
+ <property name="build.dir" value="${{build.dir}}"/>
+ <property name="servlet.context.prefix" value="{$servlet.context.prefix}"/>
+ <property name="yanel.source.version" value="{$yanel.source.version}"/>
+ <property name="maven.url" value="{$maven.url}"/>
+ </ant>
+</target>
+</xsl:for-each>
+
</project>
</xsl:template>
More information about the Yanel-commits
mailing list