Environment : ivy-module 1.2, ivy-libs 1.3 , netbeans 7 , Ubuntu 10.04 LTS ,
jdk 7
Description :
When a dependency (in ivy.xml) has a classifier associated with it e.g.
'client', the retrieved artifacts do not contain the classifier in the filename.
I made the following change in ivy-impl.xml:
<property name="ivy-retrieve.pattern"
value="[artifact]-[revision](-[classifier]).[ext]"/>
and changed ivyreport2properties.xsl:
<xsl:choose>
<xsl:when test="@extra-classifier">
<xsl:value-of select="concat('${ivy-retrieve-dir}/',@name,'-',../../@name,'-',@extra-classifier,'.jar')" />
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="concat('${ivy-retrieve-dir}/',@name,'-',../../@name,'.jar')" />
</xsl:otherwise>
</xsl:choose>
My XSL is rusty, so I'm hoping there is a cleaner way of doing that.
Original issue reported on code.google.com by brian.si...@gmail.com on 4 Aug 2011 at 4:05
Original issue reported on code.google.com by
brian.si...@gmail.com
on 4 Aug 2011 at 4:05