donaldp 02/05/02 03:27:36
Modified: tools/xsl build.xsl
Log:
Enable gump to overide the name of the jar created by overiding version
property.
Revision Changes Path
1.11 +4 -1 jakarta-ant-myrmidon/tools/xsl/build.xsl
Index: build.xsl
===================================================================
RCS file: /home/cvs/jakarta-ant-myrmidon/tools/xsl/build.xsl,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- build.xsl 1 May 2002 14:30:22 -0000 1.10
+++ build.xsl 2 May 2002 10:27:36 -0000 1.11
@@ -14,6 +14,9 @@
<property file="../ant.properties"/>
<property file="${{user.home}}/.ant.properties"/>
+ <!-- Version info (to give gump a chance to overide it) -->
+ <property name="version" value="{currentVersion}"/>
+
<!-- External resources -->
<property name="stylesheet.dir" value="../src/stylesheets"/>
<property name="tools.dir" value="../tools"/>
@@ -436,7 +439,7 @@
<xsl:value-of select="concat(id, '.atl')"/>
</xsl:when>
<xsl:otherwise>
- <xsl:value-of select="concat(id, '-',
/project/currentVersion, '.jar')"/>
+ <xsl:value-of select="concat(id, '-', '${version}',
'.jar')"/>
</xsl:otherwise>
</xsl:choose>
</xsl:variable>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>