[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: Daniel Berlin <dan_at_dberlin.org>
Date: 2002-03-25 22:25:53 CET

On Mon, 25 Mar 2002, Alexander Mueller wrote:

> Daniel Berlin wrote:
>
> >On Mon, 25 Mar 2002, Alexander Mueller wrote:
> >
> >>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.
> >>
> >What was the last version of swig you tried?
> >Java support has been *completely* redone in SWIG very recently.
> >
> It was "bleeding edge" swig about two months ago.

That would be 1.3.10, which would generate incorrect code due to a
small typo, that had disastorous effects.

1.3.11 is where java code generate was completely revamped.

>
> Alex
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Mar 25 22:26:38 2002

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.