Details
Description
IvyBuildNumber.java -> doExecute()
creates an inline patternMatcher with this method:
IvyBuildNumber.java
public Matcher getMatcher(String expression) { if ((expression == organisation) || (expression == module) || (expression == branch)) { return exact.getMatcher(expression); } return regexp.getMatcher(expression); }
I'm guessing the == comparison is a typo ? Shouldn't it be saying .equals ?
I've been having issues with this task - non-deterministic results - I got down in my debug to this place where I get wrong matcher when
reference address comparison fails.
Attachments
Issue Links
- is duplicated by
-
IVY-1157 buildnumber does not work when there is a dependency referenced by the same ivy file.
- Resolved