[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

[Subclipse-users] svnant: scoping svnExists with a revision (and 1.7???)

From: Justin Georgeson <JGeorgeson_at_lgc.com>
Date: Mon, 28 Jan 2013 23:24:28 +0000

I have a target that does a loop over Ivy dependencies and does an SVN checkout of the recorded SVN URL and revision. I use svnExists to validate the URL before doing the checkout and I'm having some issues specifying a revision in the svnExists task. It doesn't support a revision attribute so I have something like this

<svn:svnExists refid="svn.Default" target="${svnURL}/plugins@${svnRev}"/>

It doesn't seem to be working right in that once I have the @${svnRev} in the target it returns false when I know that it exists in that revision. I want to add the revision because we've had some build fail when the svnExists returns true for HEAD but the Ivy dependency is old enough that it doesn't actually exist in the revision recorded in its ivy.xml. So if not by using @rev then how do I specify revision for svnExists?

And seriously, when will there be a an SVN 1.7 compatible svnant published? It's been multiple months since svnkit was updated and as I understand it the code's been checked in.

------------------------------------------------------
http://subclipse.tigris.org/ds/viewMessage.do?dsForumId=1047&dsMessageId=3046448

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subclipse.tigris.org].
Received on 2013-01-29 00:24:50 CET

This is an archived mail posted to the Subclipse Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.