[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: java bindings

From: Alexander Mueller <alex_at_littleblue.de>
Date: 2002-03-25 10:16:18 CET

Ben Collins wrote:

>On Fri, Mar 22, 2002 at 11:09:27AM -0500, Kevin Galligan wrote:
>
>>Does anybody know how current the java bindings are? I got svn compiled on
>>my Win2k box last night and I'd like to work on some client code. Any info
>>would help.
>>
Its quite a long time since I worked on the java bindings (due to work
overload in may daytime job).
A lot of helper functions are working. The only command that is
partially implemented, is "status"
(org.tigris.subversion.lib.ClientImpl.status).

I had quite a hard time because of java VM crashes when calling this
command. If you are interested in working on client code make sure
you understand the Java Native Interface. The book from sun does a good
job for acquiring this knowledge.

>>
>
>If Swig works for Win2k, you can hack up the swig bindings to support
>java.
>
There is a lot of stuff that cant be done with swig and java. Its ok to
get wrappers for classes. But the advanced topics like callbacks (which
are a main part
of the subversion library) wont work using swig (at least my opinion).
And if you want to have java naming conventions for classes and methods
you have to write wrapper classes with nice names that call the
automatically generated code.

Alex
Received on Mon Mar 25 10:15:39 2002

This is an archived mail posted to the Subversion Dev mailing list.