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

retrieve doesn't retrive files if the current one is more recent

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.0
    • 2.2.0-RC1
    • Ant, Core
    • None
    • Win XP, J2SE 1.6.0_11-b03

    Description

      The "retrieve" task will not retrieve files (artifacts) whose file modification date is greater than of the file in the repository (in the "resolver"), not even if sync="true". This way the target directory goes out of sync if (a) the module is downgraded in the repository or (b) the developer has overwritten the artifact manually when experiencing with something. Thus the only way to keep the target directory in sync is deleting it before retrieving, but of course that means suboptimal performance, and makes sync="true" useless anyway. Simply, a file should be retrieved if the date (or size!) is different than in the repository.

      Attachments

        Issue Links

          Activity

            People

              maartenc Maarten Coene
              ddekany@freemail.hu Daniel Dekany
              Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: