• Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.1.0-RC1
    • Component/s: Core
    • Labels:


      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 ( 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-cache" defaultTTL="1d">
      <ttl revision="latest.integration" duration="1d" />

      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?


        Jean-Louis Boudart created issue -
        Xavier Hanin made changes -
        Field Original Value New Value
        Assignee Xavier Hanin [ xavier ]
        Jean-Louis Boudart made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s trunk [ 12313426 ]
        Resolution Fixed [ 1 ]
        Jean-Louis Boudart made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Maarten Coene made changes -
        Fix Version/s 2.0.1 [ 12313696 ]
        Fix Version/s trunk [ 12313426 ]


          • Assignee:
            Xavier Hanin
            Jean-Louis Boudart
          • Votes:
            2 Vote for this issue
            6 Start watching this issue


            • Created: