You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Gustav Munkby <gr...@gmx.net> on 2004/03/04 22:38:47 UTC

Subversion to Java bindings, what's the status?

Hi!

(I'm a first time poster, so please forgive me if I'm behaving badly.)

I would like to know the status of the different Java bindings available 
for Subversion. Is this the right forum for this question?

What I'm interested in, as far as I've understood the subversion 
documentation is bindings to the ra-layer.

Basicly, what I (currently) want to do, is to be able to retrieve 
listings of files in a specific folder in the repository. to be able
to add and remove files, and to be able to replace with a new version.

This is probably very similar to what a general webdav client does to
the repository when accessing it. (as in from windows explorer)

If it would be easier to access this functionality by using a webdav
implementation for Java, then that will probably be my choice, but
I'm interested in knowing if there is a better way to do it.

I've tried to look at both the javahl-bindings, and the swig-java-bindings.

The javahl-bindings I find very non-java-ish, and far from obvious.
The swig-java-bindings I can't even get to compile properly.

For both bindings I'm missing a simple example of how to use the apis.
Is this information available somewhere, if so, where?

So, in conclusion, I'm interested in some kind of information about the 
state of the bindings and if they are in an operational state, how to 
make them work?

regards
Gustav Munkby



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: Subversion to Java bindings, what's the status?

Posted by "Daniel L. Rall" <dl...@collab.net>.
Patrick Mayweg wrote:
> Gustav Munkby wrote:
...
>> The swig-java-bindings I can't even get to compile properly.
> 
> AFAIK this bindings are currently not maintained.

They are maintained, just progressing at a speed at which you can barely see 
them moving.  ;-)  They are not yet ready for use, and their build appears to 
have been broken recently by unrelated changes.  I've asked Justin to help me 
sort things out.

...
>> So, in conclusion, I'm interested in some kind of information about 
>> the state of the bindings and if they are in an operational state, how 
>> to make them work?

The javahl bindings are currently the best Java bindings for SVN available. 
Several projects (Subclipse, Maven, etc.) also have commandline client 
wrappers written in Java.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: Subversion to Java bindings, what's the status?

Posted by Patrick Mayweg <ma...@qint.de>.
Hi Gustav,
Gustav Munkby wrote:

>
> Hi!
>
> (I'm a first time poster, so please forgive me if I'm behaving badly.)
>
> I would like to know the status of the different Java bindings 
> available for Subversion. Is this the right forum for this question?
>
> What I'm interested in, as far as I've understood the subversion 
> documentation is bindings to the ra-layer.
>
> Basicly, what I (currently) want to do, is to be able to retrieve 
> listings of files in a specific folder in the repository. to be able
> to add and remove files, and to be able to replace with a new version.
>
> This is probably very similar to what a general webdav client does to
> the repository when accessing it. (as in from windows explorer)
>
> If it would be easier to access this functionality by using a webdav
> implementation for Java, then that will probably be my choice, but
> I'm interested in knowing if there is a better way to do it.
>
> I've tried to look at both the javahl-bindings, and the 
> swig-java-bindings.
>
> The javahl-bindings I find very non-java-ish, and far from obvious.

The javahl bindings offer basicly the operations as the command line 
client. The most important classes are SVNClient and SVNAdmin (trunk 
only).  The commands of svn are implemented in SVNClient and of svnadmin 
in SVNAdmin. You look at the org.tigris.subversion.javahl.tests package 
in trunk for my testcase, svnup (http://svnup.tigris.org) or subclipse 
(http://subclipse.tigris.org) for samples. You should able to do what 
you need with that. If you are missing anything or have more questions, 
please contact me.

> The swig-java-bindings I can't even get to compile properly.

AFAIK this bindings are currently not maintained.

>
> For both bindings I'm missing a simple example of how to use the apis.
> Is this information available somewhere, if so, where?
>
> So, in conclusion, I'm interested in some kind of information about 
> the state of the bindings and if they are in an operational state, how 
> to make them work?
>
> regards
> Gustav Munkby
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: dev-help@subversion.tigris.org
>
Regards,
Patrick
Patrick


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org