Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.3.1
-
None
-
None
Description
I've executed ant -v retrieve (-v to get diagnostics). Ivy could not download one file (because file is befind firewall). The bad thing is that firewall is configured so it does not send ICMP messages about that port is closed (so connection is closed only by timeout), and ivy prints URL it could not download only after several failed attempts.
So to find what happens, I have to wait 2 minutes (or hack Ivy and Ant I don't know how).
Ivy should:
- In verbose mode should print each URL before downloading. Or maybe in default mode too.
- Don't know who prints the line:
[ivy:retrieve] INFO: I/O exception (java.net.ConnectException) caught when processing request: Operation timed out
If ivy, it should also include failed URL in this line.
Failed module spring-corba is marked as changing="true".
Output of ant -v retrieve is attached. Note that last line appeared only after two minutes after start of ant.
===
[yozh@PowerBook:...plate-java-project/trunk]% ant -v retrieve
Apache Ant version 1.6.5 compiled on April 11 2006
Buildfile: build.xml
Detected Java version: 1.5 in: /System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home
Detected OS: Mac OS X
parsing buildfile /Users/yozh/devel/yandex/market-svn/sandbox/template-java-project/trunk/build.xml with URI = file:///Users/yozh/devel/yandex/market-svn/sandbox/template-java-project/trunk/build.xml
Project base dir set to: /Users/yozh/devel/yandex/market-svn/sandbox/template-java-project/trunk
Build sequence for target(s) `retrieve' is [retrieve]
Complete build sequence is [retrieve, clean, compile, jar, publish, taskdef-ivy, ]
retrieve:
parsing buildfile jar:file:/Users/yozh/devel/yandex/market-svn/sandbox/template-java-project/trunk/lib/ivy/ivy-1.3.1.jar!/fr/jayasoft/ivy/ant/antlib.xml with URI = jar:file:/Users/yozh/devel/yandex/market-svn/sandbox/template-java-project/trunk/lib/ivy/ivy-1.3.1.jar!/fr/jayasoft/ivy/ant/antlib.xml
:: Ivy 1.3.1 - 20060330160721 :: http://ivy.jayasoft.org/ ::
no ivy instance found: auto configuring ivy
[null] Loading jar:file:/Users/yozh/devel/yandex/market-svn/sandbox/template-java-project/trunk/lib/ivy/ivy-1.3.1.jar!/fr/jayasoft/ivy/ant/ivy.properties
jakarta commons httpclient detected: using it for http downloading
no http authentication will be used
no proxy configured
searching ivyconf file: trying /Users/yozh/devel/yandex/market-svn/sandbox/template-java-project/trunk/ivyconf.xml
:: configuring :: file = /Users/yozh/devel/yandex/market-svn/sandbox/template-java-project/trunk/ivyconf.xml
no default ivy user dir defined: set to /Users/yozh/.ivy
no default cache defined: set to /Users/yozh/.ivy/cache
configuration done (168ms)
default cache: /Users/yozh/.ivy/cache
default resolver: default
– 4 resolvers:
ibiblio [ibiblio]
fireball [url]
ivy [ivyrep]
default [chain] [fireball, ivy, ibiblio]
no resolved descriptor found: launching default resolve
using ivy parser to parse file:/Users/yozh/devel/yandex/market-svn/sandbox/template-java-project/trunk/ivy.xml
:: resolving dependencies :: [ yandex | template-java-project | working@PowerBook ]
confs: [default, test]
validate = true
[ivy:retrieve] Jun 17, 2006 1:43:11 AM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
[ivy:retrieve] INFO: I/O exception (java.net.ConnectException) caught when processing request: Operation timed out
[ivy:retrieve] Jun 17, 2006 1:43:11 AM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
[ivy:retrieve] INFO: Retrying request
[ivy:retrieve] Jun 17, 2006 1:44:26 AM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
[ivy:retrieve] INFO: I/O exception (java.net.ConnectException) caught when processing request: Operation timed out
[ivy:retrieve] Jun 17, 2006 1:44:26 AM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
[ivy:retrieve] INFO: Retrying request
[ivy:retrieve] Jun 17, 2006 1:45:41 AM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
[ivy:retrieve] INFO: I/O exception (java.net.ConnectException) caught when processing request: Operation timed out
[ivy:retrieve] Jun 17, 2006 1:45:41 AM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
[ivy:retrieve] INFO: Retrying request
ERROR: HttpClientHandler: Operation timed out url=http://ivyrep.fireball.yandex.ru:9000/ivyrep/yandex/spring-corba/20060615/ivy.xml
===
Thanks.