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

[email protected]
Newsgroups gmane.comp.cms.lenya.cvs
Message-ID <[email protected]>
Author: andreas
Date: Sun Mar  9 03:37:44 2008
New Revision: 635209

URL: http://svn.apache.org/viewvc?rev=635209&view=rev
Log:
Don't include all module APIs when compiling a 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=635209&r1=635208&r2=635209&view=diff
==============================================================================
--- lenya/trunk/src/resources/build/modules2build.xsl (original)
+++ lenya/trunk/src/resources/build/modules2build.xsl Sun Mar  9 03:37:44 2008
@@ -172,9 +172,9 @@
     
     <path id="module.classpath.{$id}.api">
       <path refid="classpath"/>
-      <fileset dir="${{build.webapp}}/WEB-INF/lib" includes="lenya-*-api.jar"/>
+      <fileset dir="${{build.webapp}}/WEB-INF/lib" includes="${{fullname}}-api.jar"/>
       <xsl:for-each select="mod:depends">
-        <fileset dir="${{build.webapp}}/WEB-INF/lib" includes="lenya-module-{@module}-api.jar"/>
+        <fileset dir="${{build.webapp}}/WEB-INF/lib" includes="lenya-module-{@module}-${{version}}-api.jar"/>
       </xsl:for-each>
       <fileset dir="{$src}" includes="java/lib/*.jar"/>
       <fileset dir="${{lib.dir}}" includes="*.jar"/>
@@ -205,7 +205,7 @@
           <classpath refid="module.classpath.{$id}.api"/>
         </javac>
         
-        <jar jarfile="${{build.webapp}}/WEB-INF/lib/lenya-module-{$id}-api.jar" index="true">
+        <jar jarfile="${{build.webapp}}/WEB-INF/lib/lenya-module-{$id}-${{version}}-api.jar" index="true">
           <fileset dir="{$destDirPublic}">
             <exclude name="**/Manifest.mf"/>
           </fileset>
@@ -228,7 +228,7 @@
         <classpath refid="module.classpath.{$id}.impl"/>
       </javac>
       
-      <jar jarfile="${{build.webapp}}/WEB-INF/lib/lenya-module-{$id}-impl.jar" index="true">
+      <jar jarfile="${{build.webapp}}/WEB-INF/lib/lenya-module-{$id}-${{version}}-impl.jar" index="true">
         <fileset dir="{$destDirPrivate}">
           <exclude name="**/Manifest.mf"/>
         </fileset>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.