Uploaded image for project: 'Ivy'
  1. Ivy
  2. IVY-1459

include in dependency doesn't work as expected with extra attributes

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.3.0
    • None
    • Core
    • GNU/Linux, Ivy 2.3.0, Ant 1.9.2, Java 6 SUN

    Description

      Hi,

      I try to combine <include /> tag in dependency and extra attributes which seems not allowed according to the documentation (since it is not mentioned that <include /> allows extra attributes).

      Why not allowed?
      Can it be allowed?

      Moreover, the actual behavior seems buggy since several artifacts can be resolved with the same regexp but only one is used and no error occurs.

      I currently use <conf name="" mapped=""/> in combination with the <include /> tag, so that I can resolve artifacts from regexp restricted to a given set of configurations. If I keep only conf mapping, let's say I get 36 artifacts, then if I had a <include name="*" />, I get only 12 of them (should be the same result since the include rule doesn't expose any restriction). This is related to the first issue where no error occurs for several artifacts matches.

      Attachments

        Activity

          People

            Unassigned Unassigned
            opatry Olivier Patry
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: