ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Antoine Levy-Lambert" <anto...@gmx.de>
Subject using Ivy.resolve programmatically
Date Wed, 12 Mar 2008 22:40:11 GMT
Hi,

I must be missing something.

We are still on ivy-2.0.0-alpha2 (sorry that we did not upgrade yet).

I try to reproduce in a separate java class (a CruiseControl custom plugin) what the Ant task
ivy:resolve does.

I see some output looking like the normal output of ivy resolve. But afterwards, I see a message
indicating a number of modules to sort, and messages containing this string Non matching revision
detected when sorting.

In the end, there are a lot of dependencies which are missing from my ResolveReport instance.
Am I doing anything wrong ? Is there a magic API call to do to get the complete list of dependencies
?

Regards,

Antoine

     [java] 	|       emma       |   1   |   0   |   0   |   0   ||   2   |   0   |

     [java] 	|      aspectj     |   2   |   0   |   0   |   0   ||   1   |   0   |

     [java] 	|   binaryaspect   |   1   |   0   |   0   |   0   ||   1   |   0   |

     [java] 	|     platform     |   1   |   0   |   0   |   0   ||   2   |   0   |

     [java] 	|      default     |   0   |   0   |   0   |   0   ||   0   |   0   |

     [java] 	---------------------------------------------------------------------

     [java] Nbr of module to sort : 35

     [java] Sort dependencies of : [ acme | ctaspects | 5.1 | CTASPECTS_5.1.0.579 ] / Number
of dependencies = 2

     [java] Non matching revision detected when sorting.  [ acme | ctWebClient ] depends on
[ apache | oro | 5.1 | 2.0.8 ], doesn't match [ apache | oro | 5.1 | 2.0.6 ]

...



Mime
View raw message