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
1 answer

java.io.IOException: Unexpected EOF When Jenkins slave tries an SVN checkout

I am trying to setup a Jenkins slave on a separate Windows 10 machine. The master runs on windows 8.1. slave.jar is being executed with a command on the master. I do this using winrs: winrs -r:192.168.xxx.xxx -u:MyUserName -p:MyPassword java -jar…
Jupiter
  • 1,421
  • 2
  • 12
  • 31
0
votes
0 answers

how to write script in gradle to update svn project

I am trying to learn Gradle and, I try to build this code but it wasn't working. can someone tell me where is it failing? import org.tmatesoft.svn.core.wc2.* import org.tmatesoft.svn.core.wc.* import org.tmatesoft.svn.core.* allprojects { …
saif
  • 21
  • 3
0
votes
1 answer

Incorrect date extracted from SVN using SVNKit

I am using SVNKit to retrieve logs from a SVN server. I am using SVNKit version 1.3.2. Everything is working fine and well except for some bizarre problem that I have been seeing lately. The commit date retrieve is getting converted to the timezone…
Salman A. Kagzi
  • 3,833
  • 13
  • 45
  • 64
0
votes
1 answer

Find revision in trunk that a branch was created from using SVNKIT

I trying to get the revision which a branch was created from using svnkit but I don't know how to achieve that. That I need is something like that the command line in this question. If you have an example code to do this with svnkit, it will be…
mtsrvs
  • 11
  • 1
  • 5
0
votes
1 answer

Jenkins job that runs on Jenkins node(slave) fails after pulling changes from VisualSVN

I have a job that run on on Jenkins node(lets call it X) in a restricted network has firewalls restrictions and does not allow communication using all ports(only 22,443,80) so our Jenkins Master uses port 443 to communicate with the node.The…
0
votes
1 answer

NullPointerException calling SvnAnt's Copy.setRevision

I'm trying to perform SVN copy operation (creating a tag from a branch) using Java. I'm getting the below exception. "Exception in thread "main" java.lang.NullPointerException at org.tigris.subversion.svnant.SvnFacade.getFacade(Unknown Source) at…
0
votes
1 answer

change SVN directory permissions using SVNKit

I'm using SVNKit to programatically interact with an SVN server. At some point I need to prevent any further changes to a repository directory. My intial idea was to do this using a lock, but then I discovered that SVN locks are breakable (and…
Dónal
  • 185,044
  • 174
  • 569
  • 824
0
votes
1 answer

How to use SVNKit to get the list of all revisions merged from one branch to another?

Purpose: As a quality check, we need to make sure that all qualified revisions are merged up to all higher revisions. Example: Release_10 --> Release_11 In TortoiseSVN, it is very easy to figure out which revisions have been merged by clicking the…
ScrappyDev
  • 2,307
  • 8
  • 40
  • 60
0
votes
1 answer

org.tmatesoft.svn.core.SVNException: svn: E160013: URL 'svn+ssh://myserver/mypath/myproject/trunk/.project' non-existent in that revision

I have an issue with Subversive on Eclipse. These are the versions: ECLIPSE Version: Neon.1 Release (4.6.1) Build id: 20160913-0900 SUBVERSIVE 4.0.3.I20161129-1700 SVN CONNECTOR: SVNKit 1.8.14 r10627 (SVN 1.9.0 compatible, all platforms) I am on…
Alessandro C
  • 3,310
  • 9
  • 46
  • 82
0
votes
1 answer

Problems getting SvnKit to work on 64 bit Windows 7

I'm having a problem getting SvnKit working on 64 bit Windows 7. I open a shell and type jsvn and i get... The system cannot find the path specified. It doesn't say what path. Its not the launcher script as I've checked all the paths. It must be…
Russell Zornes
  • 706
  • 6
  • 18
0
votes
1 answer

svnkit without environment variables?

I use svnkit to download files from an SVN. When I run my program as a Windows service using YAJSW, the program is run as a System user, where APPDATA is set to some path in C:\Windows. svnkit is then unable to write to that directory. As I did not…
J Fabian Meier
  • 33,516
  • 10
  • 64
  • 142
0
votes
1 answer

how to validate svn credentials using ant script

I have to commit some code to the svn using ant script, Before committing to the SVN i should validate the credentials ,Is there any command in svn for validating the username and password from ant script
0
votes
1 answer

setCopyContents SVNKit. How to create branch on existing branch without branch content?

Assume I create a Branch1 on existing branch Branches\ the following way using SVNKit: SVNCopyClient copyClient = new SVNCopyClient(authManager, options); SVNCopySource copySource = new SVNCopySource(SVNRevision.UNDEFINED, SVNRevision.HEAD,…
host.13
  • 108
  • 1
  • 1
  • 11
0
votes
0 answers

Solution to cache locally exported files and file deltas from Subversion

I have a subversion repository and I need to implement a caching solution in Java where I need only to export a specific file revision and keep it locally for further use. The problem that keeping all file revisions locally can't be done as the…
josephino
  • 360
  • 4
  • 21
0
votes
2 answers

JRE getting crashed when using SVNKit inside a web app on tomcat server

I am trying to handle svn operations through a web portal using SVNKit with spring. I am able to perform separate operations like commit,cleanup,update etc. My commit code goes like : public Exception commit(String user, String password, String…
Shashank Vivek
  • 16,888
  • 8
  • 62
  • 104