[Yanel-commits] rev 29071 - public/yanel/trunk/src/build

michi at wyona.com michi at wyona.com
Tue Nov 20 12:11:07 CET 2007


Author: michi
Date: 2007-11-20 12:11:06 +0100 (Tue, 20 Nov 2007)
New Revision: 29071

Modified:
   public/yanel/trunk/src/build/yanel2resources.xsl
Log:
YANEL_SRC_DIR added

Modified: public/yanel/trunk/src/build/yanel2resources.xsl
===================================================================
--- public/yanel/trunk/src/build/yanel2resources.xsl	2007-11-20 09:59:19 UTC (rev 29070)
+++ public/yanel/trunk/src/build/yanel2resources.xsl	2007-11-20 11:11:06 UTC (rev 29071)
@@ -42,6 +42,12 @@
       <property name="maven.url" value="{$maven.url}"/>
     </ant>
         </xsl:when>
+        <xsl:when test="starts-with(@src, '@YANEL_SRC_DIR@')">
+    <ant inheritAll="false" antfile="{@src}/build.xml" target="compile">
+      <property name="yanel.source.version" value="{$yanel.source.version}"/>
+      <property name="maven.url" value="{$maven.url}"/>
+    </ant>
+        </xsl:when>
         <xsl:otherwise>
     <ant inheritAll="false" antfile="${{build.dir}}/{@src}/build.xml" target="compile">
       <property name="yanel.source.version" value="{$yanel.source.version}"/>
@@ -68,6 +74,11 @@
       <fileset dir="{@src}/build/lib"/>
     </copy>
       </xsl:when>
+      <xsl:when test="starts-with(@src, '@YANEL_SRC_DIR@')">
+    <copy todir="${{build.dir}}/webapps/{$servlet.context.prefix}/WEB-INF/lib">
+      <fileset dir="{@src}/build/lib"/>
+    </copy>
+      </xsl:when>
       <xsl:otherwise>
     <copy todir="${{build.dir}}/webapps/{$servlet.context.prefix}/WEB-INF/lib">
       <fileset dir="${{build.dir}}/{@src}/build/lib"/>
@@ -119,6 +130,14 @@
       <property name="maven.url" value="{$maven.url}"/>
     </ant>
       </xsl:when>
+      <xsl:when test="starts-with(@src, '@YANEL_SRC_DIR@')">
+    <ant inheritAll="false" antfile="{@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>
+      </xsl:when>
       <xsl:otherwise>
     <ant inheritAll="false" antfile="${{build.dir}}/{@src}/build.xml" target="copy-dependencies">
       <property name="build.dir" value="${{build.dir}}"/>



More information about the Yanel-commits mailing list