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 17:19:01 UTC

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

Author: andreas
Date: Thu Jun 22 08:19:01 2006
New Revision: 416394

URL: http://svn.apache.org/viewvc?rev=416394&view=rev
Log:
Use separate classpath property for each module

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=416394&r1=416393&r2=416394&view=diff
==============================================================================
--- lenya/trunk/src/resources/build/modules2build.xsl (original)
+++ lenya/trunk/src/resources/build/modules2build.xsl Thu Jun 22 08:19:01 2006
@@ -77,7 +77,7 @@
       <xsl:variable name="target">${target.vm}</xsl:variable>
       <xsl:variable name="nowarn">${nowarn}</xsl:variable>
       
-      <path id="module.classpath">
+      <path id="module.classpath.{$id}">
         <path refid="classpath"/>
         <fileset includes="lenya-*-api.jar">
           <xsl:attribute name="dir">${build.webapp}/WEB-INF/lib</xsl:attribute>
@@ -107,7 +107,7 @@
         nowarn="{$nowarn}"
         source="1.4">
         <src path="{$srcDir}"/>
-        <classpath refid="module.classpath"/>
+        <classpath refid="module.classpath.{$id}"/>
       </javac>
       
       <xsl:variable name="jarfile">${build.webapp}/WEB-INF/lib/lenya-module-<xsl:value-of select="$id"/>.jar</xsl:variable>
@@ -148,7 +148,7 @@
       <xsl:variable name="cocoon-xconf">${build.webapp}/WEB-INF/cocoon.xconf</xsl:variable>
       <xpatch file="{$cocoon-xconf}"
         srcdir="{$src}"
-        includes="config/cocoon-xconf/*.xconf"
+        includes="config/cocoon-xconf/*.xconf, config/cocoon-xconf/*/*.xconf"
         addComments="false"/>
         
       <xsl:variable name="lenya-roles">${build.dir}/impl/org/apache/lenya/lenya.roles</xsl:variable>



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
For additional commands, e-mail: commits-help@lenya.apache.org