ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gilles Scokart" <>
Subject RE: Checking for an already published revision
Date Wed, 13 Jun 2007 14:53:28 GMT
Your requirements make sense.  Unfortunately, I see only one alternative to
the solution you propose.  I hope you will like it.  You can get the source
from svn, make the modification and attach a patch to a jira issue.
Don't hesitate to ask for help if you want to do that.  I'm sure you will
receive a quicker response than to your previous question.


> -----Original Message-----
> From: Frank Kemmer []
> Sent: mercredi 13 juin 2007 16:13
> To:
> Subject: Checking for an already published revision
> Since nobody is interested in answering my harder questions, here a
> simple one (I hope ... :)
> What is the best way to let an ivy:publish fail if the revision given
> as an attribute to the publish does already exist in the repository.
> I would have loved an attribute for ivy:publish like
> failOnRevisionExists="true".
> Since I didn't find such a flag and couldn't configure the repository
> resolver to reject this publication, I am wondering if I should use
> findrevision and then check if the resolution is successful. If so, I
> would fail with a message like: "Revisision already exists in
> repository".
> Does anybody have some better suggestions?
> Thanx for any help in advance.

View raw message