Questions tagged [svnkit]

SVNKit is a pure Java Subversion toolkit. SVNKit allows a Java developer to access Subversion features from within a Java application.

Subversion is an open source version control system, originally developed by CollabNet, Inc. and currently supported by the Apache Software Foundation.

SVNKit is a pure Java Subversion toolkit - it implements all Subversion features and provides APIs to work with Subversion working copies, access and manipulate Subversion repositories - everything within your Java application.

307 questions
0
votes
3 answers

SVN API to find if dir is versioned or not

I am committing the files to SVN using the API available in SVNKit. ourClientManager.getCommitClient().doCommit(mypaths, kpLocks, "", force-yes, recursive-true); I want to find out if the directory of the file, is part of working copy or not,…
Krishnaveni
  • 799
  • 2
  • 11
  • 32
0
votes
1 answer

SVN Version number changes with every file

I use SVNKit to check in files from one SVN Repo. to another. My problem is that the version of the target svn increase with every file. ex: I check out 5 files from Repo. A to Repo. B under one commitment. And I expect the version of Repo. B…
Arthur
  • 151
  • 2
  • 11
0
votes
1 answer

How to know the branch of a tag using SVNKit java API?

Can someone please tell me how to figure out branch of an svn tag? Would be great if there is any working code, that gets me branches for certain tags? Thanks. I use this command line command as of now to see it on console svn log -v -l 2 "path to…
DKumar
  • 352
  • 1
  • 3
  • 13
0
votes
1 answer

Java SVNKit version exception

I've got a small java app, that works with the svn via SVNKit. But when I try to work with my local copy, it throws out this exception: Exception in thread "main" org.tmatesoft.svn.core.SVNException: svn: The path 'D:\mainWorkspace\wowaProj' appears…
user
  • 3,058
  • 23
  • 45
0
votes
0 answers

Querying SVNKit for log information about a specific file

I want to query our SVN server to return log entries about a specific file. What I've tried to do : SVNRepositoryFactoryImpl.setup(); SVNURL svnURL = SVNURL.parseURIDecoded("svn://our-server:3692/branches/hotfixes/3.5.12345/"); SVNRepository…
Ohad Benita
  • 533
  • 2
  • 8
  • 26
0
votes
1 answer

How to get the changed list between revision numbers of SVN in java

Say you have a begin revision number and end revision number of SVN, Is there any SDK api to get the changed list of them in java ? I am using the TortoiseSVN. thanks.
Joe.wang
  • 11,537
  • 25
  • 103
  • 180
0
votes
1 answer

Executing external services using EJB Timer Service

I have a scenario to ask regarding utilizing the EJB Timer Service. Use case as follows: The system should be able to schedule a task that will poll/ask our subversion repository for files changes using some particular timestamp. The idea is that…
Mark Estrada
  • 9,013
  • 37
  • 119
  • 186
0
votes
2 answers

Java SVNKit tagging if tag not exists?

I use for my smal project Java SVNKit (for tagging): at the moment and its work: public void copy(String branchName, String dstTag, boolean isMove, String msg) throws SVNException, IOException { String finalURL = getSvnUrl() + "tags/" + dstTag; …
Fawi
  • 473
  • 2
  • 7
  • 21
0
votes
1 answer

Eclipse (or any tool), to add all authors to java file from svn

Is there any automatic tool to add all @author tags from svn to all java files? I found solutions (like this) to add last commiter, but I would like to add all of them.
azendh
  • 921
  • 8
  • 23
0
votes
1 answer

SVNKit Library Dynamic User Credentials

Is there any way to check-in file/folder using SVNKit library as multiple users for checking into SVN repository without creating multiple SVNCommitClient objects. So that the entire transaction will be single. Thanks in advance.
Ajai Gopal
  • 189
  • 4
  • 12
0
votes
1 answer

how do I use client certitificate file for svnkit in ant?

My svn admin require us to install a pfx client cert file on our windows machine to connect. I tried that and have no problem connecting to svn with TortoiseSVN. Now I need to write an ant script and use svnkit inside to checkout/update. How do I…
GaryX
  • 737
  • 1
  • 5
  • 20
0
votes
2 answers

Can't get diff between BASE and WORKING using SVNKit

I would like to use SVNDiffClient to get wc local changes, equivalent of 'svn diff -rBASE', which is exactly what this example is suposed to do. However, running the code from example throws 'org.tmatesoft.svn.core.SVNException: svn: At least one…
mkvcvc
  • 1,515
  • 1
  • 18
  • 41
0
votes
1 answer

SVN log using SVNKit

I'm sure this question will be silly or annoying on multiple levels.... I am using SVNKit in Java. I want to get the list of files committed in a particular commit. I have the release ID. Normally I would run something like svn log url/to/repository…
Jup Zing
  • 11
  • 1
  • 1
0
votes
1 answer

Why does Svnkit ignore externals when updating to a specific revision?

I'm trying to export a specific revsion of an online SVN Repository using Java 1.7 and SVNkit 1.7.4v1. But the problem is that SVNkit ignores the externals if the specific revision is not HEAD. With the HEAD-revison, the export works fine and…
GodMod
  • 1
0
votes
2 answers

svn support in eclipse rcp application

I need to add svn support to my own eclipse rcp application. I need to show commit history and checkout specific version of a file from svn server. Do I need to use sublipse or subversive or svnkit is enough?
michael nesterenko
  • 14,222
  • 25
  • 114
  • 182
1 2 3
20
21