You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by "Xavier Hanin (JIRA)" <ji...@apache.org> on 2009/01/24 12:06:00 UTC

[jira] Assigned: (IVY-879) Using ivy in offline mode

     [ https://issues.apache.org/jira/browse/IVY-879?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Xavier Hanin reassigned IVY-879:
--------------------------------

    Assignee: Xavier Hanin

> Using ivy in offline mode
> -------------------------
>
>                 Key: IVY-879
>                 URL: https://issues.apache.org/jira/browse/IVY-879
>             Project: Ivy
>          Issue Type: Improvement
>          Components: Core
>            Reporter: Jean-Louis Boudart
>            Assignee: Xavier Hanin
>
> I recently tried to use ivy in offline, everything is in ivy-cache, but ivy seems to check dynamique revision all the time.
> Exemple:  Suppose you have this dependency on your project
>     <dependency org="jasperreports" name="jasperreports" rev="2.0.5" conf="runtime->runtime"/>
> Looking in the POM file (http://repo1.maven.org/maven2/jasperreports/jasperreports/2.0.5/jasperreports-2.0.5.pom) we can see that jasperreports depends on commons-logging#[1.0,)
> This revision is evaluated on every resolve/retrieve. 
> I've tried to tune my cache with a large TTL, but the problem is still here.
> My cache configuration : 
> 	<caches default="mycache" checkUpToDate="false">
> 	  	<cache name="mycache" basedir="${ivy.home.dir}/ivy-cache" defaultTTL="1d">
> 	  		<ttl revision="latest.integration" duration="1d" />
> 	  	</cache>
> 	</caches>
> Maybe there is a regression on my version?
> Even if the TTL options seems to be interessant, i'm not so sure that this is the best solution for working in "offline mode".
> It could be a nice improvement to reuse the cache even if TTL is expired when repo are not reachable.
> What do you think about it?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.