ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hans Lund <ha.l...@gmail.com>
Subject ivy:resolve & latest.status
Date Tue, 01 Jul 2008 15:58:44 GMT
I'm trying to resolve dependencies using specified a specified status 

having the following in settings.

--------
<statuses default="integration">
	<status name="release" integration="false"/>
  	<status name="DEV" integration="true"/>
  	<status name="integration" integration="true"/>
</statuses> 
---------

Now in the ivy file I have some dependencies like the following (where
${revision.status} is set in ant depending on source-branch. 

------------
<dependency org="com.multisupport"
name="commons"rev="latest.${revision.status}" conf="compile->default(*)
"/>
------------


Running:

<ivy:resolve conf="runtime" /> 
As long as it runs this works as expected.

But: After a short while running on a CI (hudson) server, where the ivy
repository also is placed, resolving stops working due to connection
problems in httpClient. 
---

[ivy:resolve] 01-07-2008 13:16:24
org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
[ivy:resolve] INFO: I/O exception (java.net.BindException) caught when processing request:
Address already in use: connect
[ivy:resolve] 01-07-2008 13:16:24 org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
[ivy:resolve] INFO: Retrying request
[ivy:resolve] 01-07-2008 13:16:24 org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
[ivy:resolve] INFO: I/O exception (java.net.BindException) caught when processing request:
Address already in use: connect
[ivy:resolve] 01-07-2008 13:16:24 org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
[ivy:resolve] INFO: Retrying request
[ivy:resolve] 01-07-2008 13:16:24 org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
[ivy:resolve] INFO: I/O exception (java.net.BindException) caught when processing request:
Address already in use: connect
[ivy:resolve] 01-07-2008 13:16:24 org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
[ivy:resolve] INFO: Retrying request
[ivy:resolve] 01-07-2008 13:16:24 org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
[ivy:resolve] INFO: I/O exception (java.net.BindException) caught when processing request:
Address already in use: connect
[ivy:resolve] 01-07-2008 13:16:24 org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
[ivy:resolve] INFO: Retrying request
[ivy:resolve] 01-07-2008 13:16:24 org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
[ivy:resolve] INFO: I/O exception (java.net.BindException) caught when processing request:
Address already in use: connect
[ivy:resolve] 01-07-2008 13:16:24 org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
[ivy:resolve] INFO: Retrying request ...............  ´╗┐and so on:


which in the end results in unresolved dependencies.

It looks like that the problem might be that every dependency is downloaded (ivy, checksum,
artifacts) and after ~ 
all connections on the server are used. 
So in effect <ivy:resolve> performs a dos against the repository.

Does any one had any similar experiences, and have a solution? 
-- what I can come up with is to clean up the dev repository, but I find that somewhat a no-solution



Should this be considered an ivy bug?

Regards
Hans Lund

















  


Mime
View raw message