ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xavier Hanin (JIRA)" <>
Subject [jira] Created: (IVY-871) test and document PatternVersionMatcher
Date Mon, 04 Aug 2008 20:22:46 GMT
test and document PatternVersionMatcher

                 Key: IVY-871
             Project: Ivy
          Issue Type: Improvement
          Components: Core
            Reporter: Xavier Hanin

There is a powerful version matcher in Ivy code base called PatternVersionMatcher. Unfortunately,
this matcher is not documented, not tested, and not declared in the default
Nobody remembers where it comes from, but code analysis should be enough to understand how
it works and what it can achieve.

Here's what I understand from a quick analysis:
  <match revision="micro" pattern="${major}\.${minor}\.\d+" args="major, minor" matcher="regexp"

<dependency org="acme" name="foo" rev="micro(1, 3)" />

If I understand correctly the code, this will match any revision like 1.3.<any number>.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message