You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ivy-user@ant.apache.org by James Poli <Ja...@sas.com> on 2019/01/08 21:32:28 UTC

Multiple Version Matchers

Hello,
I'm trying to figure out the correct way to add an additional version matcher to Ivy.  Right now our use of Ivy has a version matcher for Eclipse configured in the ivy settings file as:
-----
...
<typedef name="eclipse-versioning" classname="com.sas.tools.ivy.EclipseVersionMatcher"/>
<version-matchers>
      <eclipse-versioning/>
  </version-matchers>
...
-----
I want to add Ivy's Sub Revision Matcher to the mix.  I was able to do it by adding:
<typedef name="sub-version" classname="org.apache.ivy.plugins.version.SubVersionMatcher"/>
<version-matchers>
      <eclipse-versioning/>
      <sub-version/>
  </version-matchers>

It works but I was wondering if it was the correct implementation?
Thanks in advance,
Jim