On 2/7/07, Bourzeix, Hervé <[EMAIL PROTECTED]> wrote:

I am in a multiuser env, what should i do ? or what are you using ?


If multiple user can create a new version at the same time, what you can
do to deal with your revision number uniqueness is to use a database, a
centralised service, or revisions with the username inside.

Xavier

thx

-----Original Message-----
From: Xavier Hanin [mailto:[EMAIL PROTECTED]
Sent: mercredi 7 février 2007 12:24
To: [email protected]
Subject: Re: publish overwrite


On 2/7/07, Bourzeix, Hervé <[EMAIL PROTECTED]> wrote:
>
> Using ivy 1.4.1,
>
> to publish artifacts in my build system, here is the steps I do
> - change the ivy file of the project
> - call a publish task with forcedeliver to true and overwrite to false
>
> My issue is: sometime I forgot to change the revision in my ivy file and
I
> publish. Using overwrite, I thought I would be safe, because already
> published artifacts will not be updated, but that's not the case.


I'm surprised, because it should work, I think there's a junit test for
that. Please open an issue in JIRA, and try to describe your settings (
ivyconf.xml) with precision, and attache the relevant part of your debug
log
if possible.

Is overwrite do what I think it shoudl do ?
> What should I change in my build system to have the revision incremented
> automatically ?
> => use a buildnumber task and affect it to the ivy.revision property? is
> this a good solution ?


Yes, use the buildnumber, it is meant for that. But beware it is not safe
if
multiple user ask for a new revision number at the same time.

- Xavier

thx
>
>
>
>
>
>
>

Reply via email to