You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by "Steve Benigan (JIRA)" <ji...@apache.org> on 2008/09/08 19:21:44 UTC

[jira] Created: (IVY-898) ivy.cache.dir.${settingsRef} is set to default instead of the defaultCacheDir from the ivysettings.xml after ivy:resolve

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


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.


[jira] Resolved: (IVY-898) ivy.cache.dir.${settingsRef} is set to default instead of the defaultCacheDir from the ivysettings.xml after ivy:resolve

Posted by "Maarten Coene (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/IVY-898?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Maarten Coene resolved IVY-898.
-------------------------------

       Resolution: Fixed
    Fix Version/s: 2.0-RC1
         Assignee: Maarten Coene

Thanks for reporting!

I've committed a fix in SVN trunk.
Could you give it a try?


> 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.


[jira] Commented: (IVY-898) ivy.cache.dir.${settingsRef} is set to default instead of the defaultCacheDir from the ivysettings.xml after ivy:resolve

Posted by "Steve Benigan (JIRA)" <ji...@apache.org>.
    [ 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.