You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Christian Fischer <Ch...@HOOD-Group.com> on 2009/03/13 10:11:56 UTC

Access repository with java bindings

Hi all!

I was wondering if it is possible to access the svn repository directly.
Though subversion depends on a working copy, i did not find any 
java-objects being capable of adding repository-nodes directly.

The desired Workflow is
- Open a commit context/starting new revision
- some adding, modifying, deleting, moving and all such things on 
file/repository-objects
- finalize/closing the commit and mark new revision

If it is not possible to access the repo directly, perhaps having a 
partial working copy in ram will do the job (?)

Any help is appreciated

Have a nice Friday the 13th...don't commit today ^^


-- 
Christian Fischer
mobile: 0049 176 6100 3450
Christian.Fischer@HOOD-Group.com
http://www.HOOD-Group.com <http://www.hood-group.com/>

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=1316832

Re: Access repository with java bindings

Posted by Karl Heinz Marbaise <kh...@gmx.de>.
Hi Christian,

> I was wondering if it is possible to access the svn repository directly.
> Though subversion depends on a working copy, i did not find any 
> java-objects being capable of adding repository-nodes directly.
> 
> The desired Workflow is
> - Open a commit context/starting new revision
> - some adding, modifying, deleting, moving and all such things on 
> file/repository-objects
> - finalize/closing the commit and mark new revision
> 
> If it is not possible to access the repo directly, perhaps having a 
> partial working copy in ram will do the job (?)

It depends on what you like to do ? Creation of directories etc.
can be done without a working copy...

Take a look http://www.svnkit.com ....

Kind regards
Karl Heinz Marbaise
-- 
SoftwareEntwicklung Beratung Schulung    Tel.: +49 (0) 2405 / 415 893
Dipl.Ing.(FH) Karl Heinz Marbaise        ICQ#: 135949029
Hauptstrasse 177                         USt.IdNr: DE191347579
52146 Würselen                           http://www.soebes.de

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=1317436


Re: Access repository with java bindings

Posted by Mark Phippard <ma...@gmail.com>.
On Fri, Mar 13, 2009 at 6:11 AM, Christian Fischer
<Ch...@hood-group.com> wrote:

> I was wondering if it is possible to access the svn repository directly.
> Though subversion depends on a working copy, i did not find any
> java-objects being capable of adding repository-nodes directly.
>
> The desired Workflow is
> - Open a commit context/starting new revision
> - some adding, modifying, deleting, moving and all such things on
> file/repository-objects
> - finalize/closing the commit and mark new revision
>
> If it is not possible to access the repo directly, perhaps having a
> partial working copy in ram will do the job (?)
>
> Any help is appreciated

The JavaHL bindings are only written against libsvn_client so you
cannot do any of this.  You can use SVNKit which has access to all
layers of the SVN API.  You also might be able to use something like
the svnmucc command line tool.

-- 
Thanks

Mark Phippard
http://markphip.blogspot.com/

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=1317439

Re: Access repository with java bindings

Posted by Karl Heinz Marbaise <kh...@gmx.de>.
Hi Christian,

missed to send a good URL:
https://wiki.svnkit.com/Committing_To_A_Repository

Kind regards
Karl Heinz Marbaise
-- 
SoftwareEntwicklung Beratung Schulung    Tel.: +49 (0) 2405 / 415 893
Dipl.Ing.(FH) Karl Heinz Marbaise        ICQ#: 135949029
Hauptstrasse 177                         USt.IdNr: DE191347579
52146 Würselen                           http://www.soebes.de

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=1317470