[
https://issues.apache.org/jira/browse/IVY-898?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12630607#action_12630607
]
Steve Benigan commented on IVY-898:
-----------------------------------
It is working now. Thanks.
> ivy.cache.dir.${settingsRef} is set to default instead of the defaultCacheDir
> from the ivysettings.xml after ivy:resolve
> ------------------------------------------------------------------------------------------------------------------------
>
> Key: IVY-898
> URL: https://issues.apache.org/jira/browse/IVY-898
> Project: Ivy
> Issue Type: Bug
> Components: Core
> Affects Versions: 2.0.0-beta-2
> Environment: Ant 1.7.1
> Reporter: Steve Benigan
> Assignee: Maarten Coene
> Fix For: 2.0-RC1
>
>
> 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.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.