You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ivy-user@ant.apache.org by Frederic Dernbach <fr...@free.fr> on 2007/10/04 13:53:43 UTC
Cache and version numbers
Hello,
I’m relatively new to ivy.
While in development mode, I keep publishing artifacts to my ivy repository without incrementing version number, i.e. the artifact
name does not change.
However, when I resolve dependencies in a project that depends on this re-published artefact, the latest “version” does not get
extracted, because of the cache. If I delete files in the cache first, then the latest artifact gets downloaded in the dependant
project. I realize this happens because I do not increment version numbers when the artifact is re-published.
Still, I’d like to know how can I bypass the cachesince I do not want to increase version numbers for now (I can always hardcode a
delete cache file instruction in ant, but I would like to get an ivy solution for that first).
Any idea ?
Fred
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.488 / Virus Database: 269.13.37/1042 - Release Date: 01/10/2007 18:59
RE: Cache and version numbers
Posted by Frederic Dernbach <fr...@free.fr>.
I found out what I should to. I should set attribute 'useOrigin' to true on my <ivy:retrieve> ant tasks.
Sorry for the disturbance.
Fred
-----Original Message-----
From: Frederic Dernbach [mailto:fredatwork@free.fr]
Sent: jeudi 4 octobre 2007 13:54
To: ivy-user@incubator.apache.org
Subject: Cache and version numbers
Hello,
I’m relatively new to ivy.
While in development mode, I keep publishing artifacts to my ivy repository without incrementing version number, i.e. the artifact
name does not change.
However, when I resolve dependencies in a project that depends on this re-published artefact, the latest “version” does not get
extracted, because of the cache. If I delete files in the cache first, then the latest artifact gets downloaded in the dependant
project. I realize this happens because I do not increment version numbers when the artifact is re-published.
Still, I’d like to know how can I bypass the cachesince I do not want to increase version numbers for now (I can always hardcode a
delete cache file instruction in ant, but I would like to get an ivy solution for that first).
Any idea ?
Fred
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.488 / Virus Database: 269.13.37/1042 - Release Date: 01/10/2007 18:59
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.488 / Virus Database: 269.13.37/1042 - Release Date: 01/10/2007 18:59
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.488 / Virus Database: 269.13.37/1042 - Release Date: 01/10/2007 18:59