You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ivy-commits@incubator.apache.org by "Maarten Coene (JIRA)" <ji...@apache.org> on 2007/06/21 21:58:25 UTC
[jira] Created: (IVY-530) Change default cache location
Change default cache location
-----------------------------
Key: IVY-530
URL: https://issues.apache.org/jira/browse/IVY-530
Project: Ivy
Issue Type: Improvement
Components: Core
Affects Versions: 2.0.0-alpha-1
Reporter: Maarten Coene
Fix For: 2.0
The caches of Ivy 1.4.1 and Ivy 2.0 are not compatible.
To avoid conflicts, we should rename the default cache for Ivy 2.0.
Suggestions:
- ${user.home}/.ivy2
- ${user.home}/.ivy20
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (IVY-530) Change default cache location
Posted by "Xavier Hanin (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/IVY-530?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12511138 ]
Xavier Hanin commented on IVY-530:
----------------------------------
FYI I've created and resolved cache related issues: IVY-563 and IVY-565.
> Change default cache location
> -----------------------------
>
> Key: IVY-530
> URL: https://issues.apache.org/jira/browse/IVY-530
> Project: Ivy
> Issue Type: Improvement
> Components: Core
> Affects Versions: 2.0.0-alpha-1
> Reporter: Maarten Coene
> Fix For: 2.0.0-alpha-2
>
>
> The caches of Ivy 1.4.1 and Ivy 2.0 are not compatible.
> To avoid conflicts, we should rename the default cache for Ivy 2.0.
> Suggestions:
> - ${user.home}/.ivy2
> - ${user.home}/.ivy20
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (IVY-530) Change default cache location
Posted by "Maarten Coene (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/IVY-530?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Maarten Coene resolved IVY-530.
-------------------------------
Resolution: Fixed
changed the default ivy.home to ${user.home}/.ivy2
> Change default cache location
> -----------------------------
>
> Key: IVY-530
> URL: https://issues.apache.org/jira/browse/IVY-530
> Project: Ivy
> Issue Type: Improvement
> Components: Core
> Affects Versions: 2.0.0-alpha-1
> Reporter: Maarten Coene
> Fix For: 2.0.0-alpha-2
>
>
> The caches of Ivy 1.4.1 and Ivy 2.0 are not compatible.
> To avoid conflicts, we should rename the default cache for Ivy 2.0.
> Suggestions:
> - ${user.home}/.ivy2
> - ${user.home}/.ivy20
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (IVY-530) Change default cache location
Posted by "Maarten Coene (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/IVY-530?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Maarten Coene updated IVY-530:
------------------------------
Fix Version/s: (was: 2.0)
2.0.0-alpha-2
> Change default cache location
> -----------------------------
>
> Key: IVY-530
> URL: https://issues.apache.org/jira/browse/IVY-530
> Project: Ivy
> Issue Type: Improvement
> Components: Core
> Affects Versions: 2.0.0-alpha-1
> Reporter: Maarten Coene
> Fix For: 2.0.0-alpha-2
>
>
> The caches of Ivy 1.4.1 and Ivy 2.0 are not compatible.
> To avoid conflicts, we should rename the default cache for Ivy 2.0.
> Suggestions:
> - ${user.home}/.ivy2
> - ${user.home}/.ivy20
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (IVY-530) Change default cache location
Posted by "Xavier Hanin (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/IVY-530?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12511051 ]
Xavier Hanin commented on IVY-530:
----------------------------------
We should also update all tutorials having a clean-cache task. Maybe it's a good time to publish the cache location root as an Ant property (and to provide a cleancache task). The cleancache task is very easy to do once we have the Ant property:
{code}
<presetdef name="cleancache">
<delete dir="${ivy.cache.dir}" />
</presetdef>
{code}
Publishing the ivy.cache.dir property could be done by publishing all ivy variables as Ant properties at the end of the settings loading. It's very easy with the IvyAntVariableContainer.
The only problem with my proposition for clean cache is that it doesn't work with scoping :-( Maybe we should set ivy.cache.dir.[settingsId] for the cache directory property. Then using presetdef is not possible. Using a macro should be ok though.
I'll create issues for that if they aren't already.
> Change default cache location
> -----------------------------
>
> Key: IVY-530
> URL: https://issues.apache.org/jira/browse/IVY-530
> Project: Ivy
> Issue Type: Improvement
> Components: Core
> Affects Versions: 2.0.0-alpha-1
> Reporter: Maarten Coene
> Fix For: 2.0.0-alpha-2
>
>
> The caches of Ivy 1.4.1 and Ivy 2.0 are not compatible.
> To avoid conflicts, we should rename the default cache for Ivy 2.0.
> Suggestions:
> - ${user.home}/.ivy2
> - ${user.home}/.ivy20
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.