Problem with javahl
From: Dominic Brauner <mail_at_brauner-muenster.de>
Date: Fri, 30 Dec 2011 18:49:58 +0100
I am working with the javahl and converted it with IKVM into a .NET DLL for
Imports org.apache.subversion.javahl
Imports org.apache.subversion.javahl.callback
Imports org.apache.subversion.javahl.types
Public Class Form1
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As
Try
Dim svnClient As New SVNClient
Dim mydata() As Info
Dim myklasse As New PropertyGetKlasse
Dim mycollection As java.util.Collection = Nothing
Dim myinfoKlasse As InfoCallbackKlasse
svnClient.info2("D:\MyWC ", Revision.HEAD, Revision.HEAD,
mydata = myinfoKlasse.getInfo
Catch ex As Exception
MsgBox(ex.ToString)
End Try
End Sub
Public Class InfoCallbackKlasse
Implements InfoCallback
Private mycollection As Collection
Sub New()
End Sub
Public Sub singleInfo(ByVal i As Info) Implements
mycollection.Add(i)
End Sub
Public Function getInfo() As Info()
Dim myinfoArray(mycollection.Count) As Info
For i As Integer = 0 To mycollection.Count - 1
myinfoArray(i) = mycollection(i + 1)
Next
Return myinfoArray
End Function
End Class
End Class
I know using javahl with IKVM is not normal but I don't understand why we
A Second question is, does somebody know where I can download the
|
This is an archived mail posted to the Subversion Users mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.