Correctly set ivy.resolved.configurations property when the conf string
includes a negation operator.
-----------------------------------------------------------------------------------------------------
Key: IVY-951
URL: https://issues.apache.org/jira/browse/IVY-951
Project: Ivy
Issue Type: Bug
Components: Ant
Affects Versions: 2.0-RC1
Reporter: Patrick Woodworth
Really this is a continuation of the work begun in
[IVY-894|https://issues.apache.org/jira/browse/IVY-894]. The previous work
allowed the resolve task to handle a configuration list with negation
operators, by transforming the list during the wildcard fixup. Unfortunately
however, in this type of scenario the ivy.resolved.configurations property is
still set to the original string with negation operators intact. This
situation breaks postresolve tasks (e.g. retrieve) that simply reuse the value
of the ivy.resolved.configurations property when it's not explicitly passed to
the subsequent postresolve task. The new patch attached to this bug report
fixes the issue by appropriately setting the ivy.resolved.configurations with
the post-fixup list of configurations. The patch includes an update to the
testcase as well.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.