On Sun, Feb 20, 2011 at 19:24, Daniel Solano Gomez <[email protected]> wrote:
> 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 …).

Yea. the message got sent too early -- before I was done editing it. I
slipped up on the keyboard. I'll look at into-array. I hadn't found
that. (I found to-array and make-array...)

> See <http://clojure.org/java_interop#Java%20Interop-Arrays> for more
> information.
>
> Sincerely,
>
> Daniel Solano Gómez


// Ben

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to