Having an auto-detect that eventually worked would be somewhat handy, even if slow eventually something good would happen. I'm envisioning sitting a bus somewhere and typing something like "ant -Divy.offline=true" to by pass the autodetection and head right to the cache.
On 5/22/07, Steve Loughran <[EMAIL PROTECTED]> wrote:
jeff wrote: > a request from another user ... > > they are asking if there is a way to make ivy:install use from cache only ... for example, network goes down. in this case, ivy:install fails ... but the data is in the cache so theoretically it could just warn the user. > > not even sure if this question makes sense ... ? > > > > > --------------------------------- > Take the Internet to Go: Yahoo!Go puts the Internet in your pocket: mail, news, photos & more. We've discussed this a bit. one problem is that,there's lots of interesting ways for the remote server to be unreachable. It may be the server is not reachable, it could be the proxy playing up, DNS down etc. More subtly, your laptop/site may be live, while the rest of the network is 'partitioned' and so you need to handle having some repositories reachable but others not, which is something you may want in your ivysettings.xml file. This stuff is hard to test -look how badly java6 behaves when reverse DNS fails, or proxy servers stop responding. You can always recognise applications written on well-managed networks by how they fail in the uncontrolled chaos of consumer home LANs... -steve
-- - Eric
