<caches> requires defaultCacheDir to be set
-------------------------------------------

                 Key: IVY-981
                 URL: https://issues.apache.org/jira/browse/IVY-981
             Project: Ivy
          Issue Type: Bug
          Components: Core
    Affects Versions: 2.0-RC2
            Reporter: Jesper Pedersen


I have deployed ivy.jar in $ANT_HOME/lib - and have the following in my 
build.xml

  <target name="init">
    <ivy:settings file="${basedir}/ivy.settings.xml"/>
  </target>

in my ivy.settings.xml file I have

  <caches defaultCacheDir="${user.home}/.ivy2/cache"
          
artifactPattern="[organisation]/[module]/[type]s/[artifact]-[revision](-[classifier]).[ext]"
          checkUpToDate="true"/>

If I remove the defaultCacheDir attribute it conplains about ${ivy.cache.dir} 
isn't set.

The documentation lists defaultCacheDir as a non-required attribute for <caches>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to