You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@depot.apache.org by ni...@apache.org on 2004/05/14 23:22:41 UTC

svn commit: rev 10664 - incubator/depot/trunk/update/src/antlet/resources

Author: nickchalko
Date: Fri May 14 16:22:40 2004
New Revision: 10664

Modified:
   incubator/depot/trunk/update/src/antlet/resources/cachedset2antget.xsl
Log:
Fixed jars.

Modified: incubator/depot/trunk/update/src/antlet/resources/cachedset2antget.xsl
==============================================================================
--- incubator/depot/trunk/update/src/antlet/resources/cachedset2antget.xsl	(original)
+++ incubator/depot/trunk/update/src/antlet/resources/cachedset2antget.xsl	Fri May 14 16:22:40 2004
@@ -33,6 +33,27 @@
                     <xsl:text>${depot.home}/local-repository</xsl:text>
                 </xsl:attribute>
             </property>
+            <fileset>
+                <xsl:attribute name="id">
+                    <xsl:value-of select="/chachedresourceset/@id"/>
+                    <xsl:text>.fileset</xsl:text>
+                </xsl:attribute>
+                <xsl:attribute name="dir">
+                    <xsl:text>${repository.dir}</xsl:text>
+                </xsl:attribute>
+                <xsl:for-each select="/chachedresourceset/resource">
+                    <include>
+                        <xsl:attribute name="name">
+                            <xsl:value-of select="@name"/>
+                            <xsl:text>/jars/</xsl:text>
+                            <xsl:value-of select="@name"/>
+                            <xsl:text>-</xsl:text>
+                            <xsl:value-of select="@version"/>
+                            <xsl:text>.jar</xsl:text>
+                        </xsl:attribute>
+                    </include>
+                </xsl:for-each>
+            </fileset>
             <target name="get-all">
                 <xsl:attribute name="depends">
                     <xsl:for-each select="/chachedresourceset/resource">
@@ -43,29 +64,6 @@
                         </xsl:if>
                     </xsl:for-each>
                 </xsl:attribute>
-                <path>
-                    <xsl:attribute name="id">
-                        <xsl:value-of select="/chachedresourceset/@id"/>
-                        <xsl:text>.fileset</xsl:text>
-                    </xsl:attribute>
-                    <fileset>
-                        <xsl:attribute name="dir">
-                            <xsl:text>${repository.dir}</xsl:text>
-                        </xsl:attribute>
-                        <xsl:for-each select="/chachedresourceset/resource">
-                            <include>
-                                <xsl:attribute name="name">
-                                    <xsl:value-of select="@name"/>
-                                    <xsl:text>/jars/</xsl:text>
-                                    <xsl:value-of select="@name"/>
-                                    <xsl:text>-</xsl:text>
-                                    <xsl:value-of select="@version"/>
-                                    <xsl:text>.jar</xsl:text>
-                                </xsl:attribute>
-                            </include>
-                        </xsl:for-each>
-                    </fileset>
-                </path>
             </target>
             <xsl:apply-templates/>
         </project>