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

Separate dependency download failure from unknown configuration failure

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.3.1
    • None
    • Core
    • None

    Description

      I think it's important to separate the following two errors:

      1. Unresolved dependency
      2. Unknown configuration

      These are two completely different errors, and the caller should have the ability to treat them
      different. For example, if my ivy file has two configurations defined:

      compile
      test

      And I ask ivy to resolve the configuration "foo", I should be able tell ivy that i really don't care
      if "foo" doesn't exist. If i try to get a fileset from it later, i'll just get an empty one.

      Right now, it fails just as if some jar in the "compile" configuration couldn't be found.

      I will look at the code, to see how easy it would be to do this.

      Attachments

        Activity

          People

            Unassigned Unassigned
            mattinger Matthew P. Inger
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: