On Sun Feb 20 19:13 2011, B Smith-Mannschott wrote:
> The class SVNCommitClient [1] defines two overloads of doMkDir. I'm
> trying to call the two argument version:
> 
>     SVNCommitInfo doMkDir(SVNURL[] urls, String commitMessage)
> 
> [1] http://svnkit.com/javadoc/org/tmatesoft/svn/core/wc/SVNCommitClient.html
> 
> Instead of getting back and SVNCommitInfo, I'm getting an exception
> out of the bowels of the compiler telling me that it can not resolve
> the method:
> 
>     No matching method found: doMkdir for class
> org.tmatesoft.svn.core.wc.SVNCommitClient
>       [Thrown class java.lang.IllegalArgumentException]
> 
> (ns user
> (:import
> 
> (.. (SVNClientManager/newInstance)

I don't see how you are trying to invoke doMkDir, but to turn a
collection into a Java array of some particular type, you will probably
need to use (into-array …).

See <http://clojure.org/java_interop#Java%20Interop-Arrays> for more
information.

Sincerely,

Daniel Solano Gómez

Attachment: pgpz4lkrwIkAM.pgp
Description: PGP signature

Reply via email to