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:[EMAIL PROTECTED] 
Sent: jeudi 4 octobre 2007 13:54
To: [email protected]
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
 

Reply via email to