On Wed, Mar 12, 2008 at 5:41 PM, Brown, Carlton
<[EMAIL PROTECTED]> wrote:
> Since I began using beta 2, Ivy no longer uses the cache directory I
>  specified in my settings file, which looks like this:
>
>  <ivysettings>
>  <settings defaultResolver="internal-with-m2-fallback"
>  checkUpToDate="true" />
>  <cache basedir="c:\ivy2\cache" />
>  <!-- etcetera-->
>
>  Now my default cache is.ivy2/cache in users's home.   C:\ivy2\cache is
>  never referenced or changed.
>
>  So, I look at the documentation and apparently <cache> is no longer a
>  child element of <ivysettings> as of beta-2, it now goes under <caches>.
>  OK, no problem.   I change the settings to:
>
>  <ivysettings>
>  <settings defaultResolver="internal-with-m2-fallback"
>  checkUpToDate="true" />
>  <caches>
>     <cache basedir="c:\ivy2\cache" />
>  </caches>
>  <!-- etcetera-->
>
>  Still does not work!
>
>  So, I decide something is wrong with basedir and I go with the new
>  settings.
>  <caches defaultCacheDir="c:\tools\ivy2\cache" />
>
>  Finally, success.   So is the documentation out of date, or is it a bug?

Sorry for the inconvenience with migration, the new cache
implementation and settings is still a bit experimental. About the
documentation, it should be up to date. The cache element under caches
allow to define one particular cache, while caches is used both as a
container element and to specify default values for all caches.

I think the documentation reflects this.

Xavier
>
>  Thanks,
>  Carlton
>
>
>
>
>
>
>
>  <HTML><BODY><P><hr size=1></P>
>  <P><STRONG>
>  ====================================================
>  This message contains PRIVILEGED and CONFIDENTIAL
>  information that is intended only for use by the
>  named recipient. If you are not the named recipient,
>  any disclosure, dissemination, or action based on
>  the contents of this message is prohibited. In such
>  case please notify us and destroy and delete all
>  copies of this transmission.  Thank you.
>  ====================================================
>  </STRONG></P></BODY></HTML>



-- 
Xavier Hanin - Independent Java Consultant
http://xhab.blogspot.com/
http://ant.apache.org/ivy/
http://www.xoocode.org/

Reply via email to