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

Xavier Hanin updated IVY-479:
-----------------------------

    Issue Type: Improvement  (was: Bug)

I agree it would be nice to be able to fallback to use the cache when all 
resolvers fails to access dependencies. At least being able to configure it to 
work would be good, because I'm not sure everybody would be ok to see that 
their build is successful in this case. Hence I prefer to classify this issue 
as an improvement rather than a bug.

> Latest Strategies does not work in off-line situations.
> -------------------------------------------------------
>
>                 Key: IVY-479
>                 URL: https://issues.apache.org/jira/browse/IVY-479
>             Project: Ivy
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: 1.4.1
>         Environment: Fedora Core 6
> Ant 1.6.5
>            Reporter: Matt Inger
>
> When resolving something like the following:
> <ivy:cachefileset setid="my.fileset" organisation="apache" module="log4j" 
> revision="latest.integration" inline="true" />
> OR
> <ivy:cachefileset setid="my.fileset" organisation="apache" module="log4j" 
> revision="1.2.+" inline="true" />
> This works fine if I am connected to the network.  However, if I disconnect 
> from the network, it no longer
> functions properly, eventually timing out on the URL resolvers configured in 
> my ivyconf.xml file.  If i replace
> the "revision" with an absolute revision (such as "1.2.8") this works just 
> fine when not connected to the network.
> In my opinion, if you cannot connect to the network, the latest strategies 
> should be able to fall back to computing
> the latest revision based on the cache only.

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

Reply via email to