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

ivy.cache.dir.${settingsRef} is set to default instead of the defaultCacheDir from the ivysettings.xml after ivy:resolve

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.0.0-beta-2
    • 2.0-RC1
    • Core
    • None
    • Ant 1.7.1

    Description

      ivy.cache.dir.${settingsRef} is not set properly after a call to resolve.

      e.g.

      ivysettings.xml
      ...
      <caches defaultCacheDir="someDirectory"/>
      ...

      build.xml
      <ivy:settings id="test" file="ivysettings.xml"/>
      <ivy:resolve settingsRef="test"/>
      <echo message="Cache Dir : ${ivy.cache.dir.test}"

      ivy.cache.dir.test is set to the default ${user.home}/.ivy2/cache instead of "someDirectory" that is the value of the defaultCacheDir attribute set in the ivysettings.xml.

      Attachments

        Activity

          People

            maartenc Maarten Coene
            benigan Steve Benigan
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: