[Subclipse-users] svnant - propget not working
From: Neil Belch <neil.belch_at_cdl.co.uk>
Date: Wed, 8 Jan 2014 06:52:42 -0800 (PST)
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
------------------------------------------------------
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subclipse.tigris.org].
|
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.