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

Document the property resolution sequence

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Ant
    • Labels:
      None

      Description

      It should be mentioned clearly the sequence happening to resolve properties.

      An ivy.instance reference might exists already due to a prior call to <resolve/> which may then make it available to tasks such as <publish/>.
      If you forget to make target dependencies between <publish/> and <resolve/> you end up with a cryptic message about missing properties/attributes/...

      It is not especially striking that the order of properties is:

      1) task attribute
      2) ivy instance
      3) project property

      The existing ivy instance (or not) is particulary vicious.

      I'm also thnking it may make sense to use debug messages to say which property is picked from where.
      Ivy is not giving much info, so debugging build issues requires to fire a debugger which is not exactly user friendly.

        Attachments

          Activity

            People

            • Assignee:
              xavier Xavier Hanin
              Reporter:
              sbailliez Stephane Bailliez
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Due:
                Created:
                Updated:
                Resolved: