ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jesper Pedersen (JIRA)" <j...@apache.org>
Subject [jira] Created: (IVY-981) <caches> requires defaultCacheDir to be set
Date Thu, 04 Dec 2008 15:38:44 GMT
<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.


Mime
View raw message