You are viewing a plain text version of this content. The canonical link for it is here.
Posted to svn@forrest.apache.org by rg...@apache.org on 2004/12/04 21:47:26 UTC
svn commit: r109822 - /forrest/trunk/main/var/pluginlist2fetch.xsl
Author: rgardler
Date: Sat Dec 4 12:47:25 2004
New Revision: 109822
URL: http://svn.apache.org/viewcvs?view=rev&rev=109822
Log:
add a '/' into the download URL so that it doesn't matter if there is a trailing slash in the plugins.xml file
Modified:
forrest/trunk/main/var/pluginlist2fetch.xsl
Modified: forrest/trunk/main/var/pluginlist2fetch.xsl
Url: http://svn.apache.org/viewcvs/forrest/trunk/main/var/pluginlist2fetch.xsl?view=diff&rev=109822&p1=forrest/trunk/main/var/pluginlist2fetch.xsl&r1=109821&p2=forrest/trunk/main/var/pluginlist2fetch.xsl&r2=109822
==============================================================================
--- forrest/trunk/main/var/pluginlist2fetch.xsl (original)
+++ forrest/trunk/main/var/pluginlist2fetch.xsl Sat Dec 4 12:47:25 2004
@@ -30,7 +30,7 @@
<echo>Trying to get "<xsl:value-of select="$plugin-name" />" plugin version
<xsl:value-of select="$forrest-version" />...</echo>
<get verbose="true" usetimestamp="true" ignoreerrors="true">
- <xsl:attribute name="src"><xsl:value-of select="plugin[@name=$plugin-name]/@url" /><xsl:value-of select="$plugin-name" />-<xsl:value-of select="$forrest-version" />.zip</xsl:attribute>
+ <xsl:attribute name="src"><xsl:value-of select="plugin[@name=$plugin-name]/@url" />/<xsl:value-of select="$plugin-name" />-<xsl:value-of select="$forrest-version" />.zip</xsl:attribute>
<xsl:attribute name="dest"><xsl:value-of select="$plugin-dir"/><xsl:value-of select="$plugin-name" />.zip</xsl:attribute>
</get>
<available property="versioned-plugin.present">
@@ -41,7 +41,7 @@
<target name="fetch-unversioned-plugin" unless="versioned-plugin.present">
<echo>Versioned plugin unavailable, trying to get versionless plugin...</echo>
<get verbose="true" usetimestamp="true" ignoreerrors="true">
- <xsl:attribute name="src"><xsl:value-of select="plugin[@name=$plugin-name]/@url" /><xsl:value-of select="$plugin-name" />.zip</xsl:attribute>
+ <xsl:attribute name="src"><xsl:value-of select="plugin[@name=$plugin-name]/@url" />/<xsl:value-of select="$plugin-name" />.zip</xsl:attribute>
<xsl:attribute name="dest"><xsl:value-of select="$plugin-dir"/><xsl:value-of select="$plugin-name" />.zip</xsl:attribute>
</get>
</target>