ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Maarten Coene <>
Subject Re: Non-concurrent resolve hangs with artifact-lock enabled
Date Wed, 25 Mar 2009 23:44:17 GMT

Could you create a JIRA ticket for this and adding as much information as possible?
(like your settings.xml, build.xml, ant output, etc)


----- Original Message ----
From: "Brown, Carlton" <>
Sent: Friday, March 20, 2009 1:07:34 PM
Subject: RE: Non-concurrent resolve hangs with artifact-lock enabled

Bumping the topic... 

-----Original Message-----
From: Brown, Carlton [] 
Sent: Wednesday, March 18, 2009 12:56 PM
Subject: Non-concurrent resolve hangs with artifact-lock enabled

I'm trying to use artifact-lock strategy, and it's failing to get a lock
on one particular module at resolve time (which causes resolve to fail).

There are no concurrent operations on the cache as far as I can tell.
Can anybody give me a hint how to figure out this problem?   Here's my
verbose/debug output:

[ivy:resolve] No entry is found in the ModuleDescriptorCache :
Resource org/apache/ivy/plugins/parser/xml/ivy.xsd loaded from ant
loader [ivy:resolve] pre 1.3 ivy file: using exactOrRegexp as default
ivy:resolve]     found ivy file in cache for
com.mycompany.mygroup#mymodule; (resolved by final-staging):
[ivy:resolve] release-resolver: module revision found in cache:
[ivy:resolve] don't use cache for
com.mycompany.mygroup#mymodule;latest.integration: checkModified=true
[ivy:resolve]         tried
[ivy:resolve]     listing all in
[ivy:resolve]     using rc-mycomp-staging-forced to list all in
[ivy:resolve]         found 3 resources
[ivy:resolve]     found revs: [,,]
[ivy:resolve]     rc-mycomp-staging-forced: found md file for
[ivy:resolve]         =>
le/ (
[ivy:resolve]     parser = ivy parser
[ivy:resolve] ERROR: impossible to acquire lock for

Again, it is only for this specific module.   Other modules appear to
resolve just fine.

Here's what I'm doing with caches... it's very clear that the problem is
artifact-lock, because I don't get the hanging behavior when I comment
out that attribute.

    <caches default="${ivy.default.cache}" checkUpToDate="true">
        <cache name="cache-userhome"


This message contains PRIVILEGED and CONFIDENTIAL information that is
intended only for use by the named recipient. If you are not the named
recipient, any disclosure, dissemination, or action based on the
contents of this message is prohibited. In such case please notify us
and destroy and delete all copies of this transmission.  Thank you.


View raw message