Hello all,
I'm new to Svnkit, and i have difficulties to get properties on a specified
folder.
I can set easily properties to a specified folder with the following code :
public void setProperty(String path, String name, String value) throws
SVNException{
clientManager.getWCClient().doSetProperty(new File(path), name,
SVNPropertyValue.create(value),true, SVNDepth.EMPTY, null, null);
}
And my code to get properties which don't works, my data.value is always
null. :confused:
public String getProperty(String path, String name) throws SVNException{
SVNPropertyData data =
clientManager.getWCClient().doGetProperty(new
File(path), name, SVNRevision.UNDEFINED, SVNRevision.WORKING);
SVNPropertyValue value = data.getValue();
return value.getString();
}
--
View this message in context:
http://old.nabble.com/Problem-to-get-properties-of-a-folder-tp32503798p32503798.html
Sent from the SVNKit - Users mailing list archive at Nabble.com.