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

Re: [Subclipse-users] svnant - propget not working

From: Mark Phippard <markphip_at_gmail.com>
Date: Wed, 8 Jan 2014 09:55:58 -0500

The version of your server should not matter as any SVN client version can
talk to it.

I believe SVNAnt requires SVN 1.6, or perhaps even 1.5 due to the version
of svnClientAdapter that it includes. So you would need that version of
the libraries too.

I've never used SVNAnt, so just suggestion based on the error.

On Wed, Jan 8, 2014 at 9:52 AM, Neil Belch <neil.belch_at_cdl.co.uk> wrote:

> Hello,
>
> I am trying to query SVN property values using the svnant propget task but
> running into problems.
>
> I have written a simple Ant target to update the build file's folder and
> then query a property (attached).
>
>
> My SVN repo is on 1.7.5 and I have svnkit 1.7 which should be compatible.
>
> If I comment out the propget and echo lines, it updates the folder fine.
> But when I try to query the svn:keywords property for a specific file I get
> this error:
>
> C:\somepath\test.xml:11: java.lang.NoSuchMethodError:
> org.tigris.subversion.javahl.PropertyData.(Lorg/tigris/subversion/javahl/SVNClientInterface;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;[B)V
>
> I have set the svn:keywords property for file.xml to "value" so this does
> exist, and committed that.
>
> If I change the propget name argument to look for an SVN property (e.g.
> "testprop") that doesn't exist, it doesn't fail it just returns
> "${prop.value}", I assume because the prop.value property is not being set.
> If I actually add the custom "testprop" SVN property to file.xml, I get the
> above error again - so it only seems to happen when it finds a property and
> attempts to get the value of it.
>
> I have had previous issues trying to use javahl, hence setting this to
> false and using svnkit instead. However since the update task works I
> wouldn't have thought the javahl/svnkit binding is the issue.
>
> Any help appreciated, thanks.
>
> Neil
>
> ------------------------------------------------------
>
> http://subclipse.tigris.org/ds/viewMessage.do?dsForumId=1047&dsMessageId=3071349
>
> To unsubscribe from this discussion, e-mail: [
> users-unsubscribe_at_subclipse.tigris.org].

-- 
Thanks
Mark Phippard
http://markphip.blogspot.com/
------------------------------------------------------
http://subclipse.tigris.org/ds/viewMessage.do?dsForumId=1047&dsMessageId=3071350
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subclipse.tigris.org].
Received on 2014-01-08 16:04:51 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.