ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Saloucious <salouci...@gmail.com>
Subject Re: Conflicts Dependencies
Date Tue, 10 Apr 2007 13:13:15 GMT

- which tasks you are using in your ant build (if you use ant) or which
command line arguments you use

I'm using Ant  1.7.0 with a retrieve Task : 

<ivy-retrieve pattern="${lib.dir}/[artifact]-[revision].[ext]" />

As i understand, this task resolve dependencies from repository and retrieve
theses ones on my project lib dir.


- what do you see in the console related to spring dependency resolution

grep on spring

[ivy-retrieve] 	found [ myorg | springframework | 2.0.1 ] in
libs-springframework
[ivy-retrieve] 	found [ myorg | springframework | 1.2.6 ] in
libs-springframework
[ivy-retrieve] downloading S:\libs\springframework\2.0.1\jars\spring-web.jar
...
[ivy-retrieve] 	[SUCCESSFUL ] [ myorg | springframework | 2.0.1
]/spring-web.jar[jar] (31ms)
[ivy-retrieve] downloading
S:\libs\springframework\2.0.1\jars\spring-core.jar ...
[ivy-retrieve] 	[SUCCESSFUL ] [ myorg | springframework | 2.0.1
]/spring-core.jar[jar] (47ms)
[ivy-retrieve] downloading
S:\libs\springframework\2.0.1\jars\spring-context.jar ...
[ivy-retrieve] 	[SUCCESSFUL ] [ myorg | springframework | 2.0.1
]/spring-context.jar[jar] (31ms)
[ivy-retrieve] downloading
S:\libs\springframework\2.0.1\jars\spring-beans.jar ...
[ivy-retrieve] 	[SUCCESSFUL ] [ myorg | springframework | 2.0.1
]/spring-beans.jar[jar] (63ms)
[ivy-retrieve] downloading
S:\libs\springframework\2.0.1\jars\spring-webmvc.jar ...
[ivy-retrieve] 	[SUCCESSFUL ] [ myorg | springframework | 2.0.1
]/spring-webmvc.jar[jar] (47ms)
[ivy-retrieve] downloading
S:\libs\springframework\2.0.1\jars\spring-remoting.jar ...
[ivy-retrieve] 	[SUCCESSFUL ] [ myorg | springframework | 2.0.1
]/spring-remoting.jar[jar] (31ms)
[ivy-retrieve] downloading
S:\libs\springframework\2.0.1\jars\spring-mock.jar ...
[ivy-retrieve] 	[SUCCESSFUL ] [ myorg | springframework | 2.0.1
]/spring-mock.jar[jar] (47ms)
[ivy-retrieve] downloading S:\libs\springframework\2.0.1\jars\spring-aop.jar
...
[ivy-retrieve] 	[SUCCESSFUL ] [ myorg | springframework | 2.0.1
]/spring-aop.jar[jar] (47ms)
[ivy-retrieve] downloading
S:\libs\springframework\1.2.6\jars\spring-beans.jar ...
[ivy-retrieve] 	[SUCCESSFUL ] [ myorg | springframework | 1.2.6
]/spring-beans.jar[jar] (16ms)
[ivy-retrieve] downloading
S:\libs\springframework\1.2.6\jars\spring-core.jar ...
[ivy-retrieve] 	[SUCCESSFUL ] [ myorg | springframework | 1.2.6
]/spring-core.jar[jar] (16ms)
[ivy-retrieve] downloading
S:\libs\springframework\1.2.6\jars\spring-mock.jar ...
[ivy-retrieve] 	[SUCCESSFUL ] [ myorg | springframework | 1.2.6
]/spring-mock.jar[jar] (31ms)
[ivy-retrieve] downloading
S:\libs\springframework\1.2.6\jars\spring-context.jar ...
[ivy-retrieve] 	[SUCCESSFUL ] [ myorg | springframework | 1.2.6
]/spring-context.jar[jar] (31ms)
[ivy-retrieve]  :: evicted modules:
[ivy-retrieve] 	[ myorg | springframework | 1.2.6 ] by [[ myorg |
springframework | 2.0.1 ]] in [buildtime, source, test, runtime]
[ivy-retrieve] 	conflict on
z:\dev2_stg\VscMobile\VscMobileWS\lib\spring-core-1.2.6.jar in [buildtime,
source, test, runtime]: 1.2.6 won
[ivy-retrieve] 	conflict on
z:\dev2_stg\VscMobile\VscMobileWS\lib\spring-context-1.2.6.jar in
[buildtime, source, test, runtime]: 1.2.6 won
[ivy-retrieve] 	conflict on
z:\dev2_stg\VscMobile\VscMobileWS\lib\spring-beans-1.2.6.jar in [buildtime,
source, test, runtime]: 1.2.6 won



- which files related to spring do you see in your cache after the
resolution of module A dependencies, if you clean your cache before
launching Ivy 


In my cache, i have a directory module B dir with springframework 2.0.1
inside, and a directory module D with spring 1.2.6

So finally, with retrieve Ant Task in my project lib dir, i have 2.0.1 and
1.2.6



Xavier Hanin wrote:
> 
> On 4/10/07, Saloucious <saloucious@gmail.com> wrote:
>>
>>
>> Hi,
>> I'm using v1.4.1
>>
>> Here is the files (i've refractored files).
>>
>> Module A :
>> http://www.nabble.com/file/7779/ivy.xml ivy.xml
>>
>> Module B :
>> http://www.nabble.com/file/7780/B-ivy.xml B-ivy.xml
>>
>> Module D:
>> http://www.nabble.com/file/7781/D-ivy.xml D-ivy.xml
>>
>> Module C
>> Spring Framework (2.0.1 and  1.2.6)
>>
>>
>> Behaviour ---> Ivy retrieves Spring 2.0.1 asked by A, Spring 1.2.6 asked
>> by
>> D and rejects Spring 1.2.6 asked by B
> 
> 
> I'm sorry, but I'm still not sure to understand what you mean by retrieve
> in
> that context. Could you tell us:
> - which tasks you are using in your ant build (if you use ant) or which
> command line arguments you use
> - what do you see in the console related to spring dependency resolution
> - which files related to spring do you see in your cache after the
> resolution of module A dependencies, if you clean your cache before
> launching Ivy
> 
> Thanks,
> - Xavier
> 
> -- 
> Learn Ivy at ApacheCon: http://www.eu.apachecon.com/
> Manage your dependencies with Ivy!
> http://incubator.apache.org/ivy/
> 
> 
- which tasks you are using in your ant build (if you use ant) or which-
which tasks you are using in your ant build (if you use ant) or which- which
tasks you are using in your ant build (if you use ant) or which
-- 
View this message in context: http://www.nabble.com/Conflicts-Dependencies-tf3536838.html#a9919432
Sent from the ivy-user mailing list archive at Nabble.com.


Mime
View raw message