ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ruault Gaetan" <grua...@sopragroup.com>
Subject ivy problem with branch attribute
Date Thu, 04 Mar 2010 15:02:01 GMT

hi,

I have a problem when i try to resolve dependancies with branch.

Here i explain my case.

if have in an Artifactory  repository
theses revisions  for an "Entity" module like this:

Entity   rev =1.1.21-snapshot-20100302120000  branch=DEV 
Entity   rev =1.1.21-snapshot-20100302140000  branch=INT  (this is the last published version)



then when i try to resolve/retrieve  dependancies for a module with this dependancy it's works
:

<dependency org="xxx.xxxx" name="Entite" rev="[1.1.20,)" branch="INT" />

ivy resolve/retrieve get the last revision ( rev =1.1.21-snapshot-20100302140000  branch=INT
)


but when i have a module with this dependancy  , it doesn't works :

<dependency org="xxx.xxxx" name="Entite" rev="[1.1.20,)" branch="DEV" />


I get this error message : 

:: smacl.urbanisation#Entite#DEV;[1.1.20,): java.text.ParseException: inconsistent module
descriptor file found in 'http://wwww.xxxxxx.lan:8080/artifactory/virt-repo-snapshots/xxxxxx/urbanisation/Entite/1.1.21-SNAPSHOT-20100302140000-INT/Entite-1.1.21-SNAPSHOT-20100302140000-INT-ivy.xml':
bad branch name: expected='DEV' found='INT'; 

is like ivy doesn't use branch attribute to make the resolve.


Have you any idea to solve my problem ?


thanks for your help

Gaetan









 
Gaëtan RUAULT
Ingenieur d'étude et développement
Sopra group.
28, rue Léo Lagrange 79000 Niort
Phone : +33 (0)5 49 77 38 20
gruault@sopragroup.com - www.sopragroup.com
Ce message peut contenir des informations confidentielles dont la divulgation est à ce titre
rigoureusement interdite en l'absence d'autorisation explicite de l'émetteur. Dans l'hypothèse
où vous auriez reçu par erreur ce message, merci de le renvoyer à l'émetteur et de détruire
toute copie.

P Pensez à l'environnement avant d'imprimer.


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message