Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
23 lines (18 sloc) 677 Bytes
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<!-- remove existing references to couchbase jar -->
<xsl:template match="classpathentry[contains(@path, 'libs/couchbase')]"></xsl:template>
<xsl:template match="@*|node()">
<xsl:copy>
<xsl:apply-templates select="@*|node()"/>
</xsl:copy>
</xsl:template>
<!-- insert reference to the latest version of couchbase jar -->
<xsl:template match="classpath">
<xsl:copy>
<xsl:apply-templates select="classpathentry|text()"/>
<classpathentry kind="lib" path="libs/couchbase-@VERSION@.jar"/>
</xsl:copy>
</xsl:template>
</xsl:stylesheet>