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
3
votes
0 answers

How to get 'svn diff' output from svnkit as nicely encapsulated objects instead of as an OutputStream

For example, svn logs can be obtained encapsulated as SVNLogEntry using the SVNLogClient. However using the SVNDiffClient I see the possibilty of only getting the diff as an OutputStream. Getting the diff as a collection of objects will save me from…
Abhijith Madhav
  • 2,748
  • 5
  • 33
  • 44
3
votes
2 answers

SVNKit: How to get the revision number from a working directory

I would like to implement a method that can get the svn revision number from the path where a SVN repository has been checked out. The method declaration would look something like this: long getRevisionNumber(String localPath) { ... } I'm trying to…
StackedCrooked
  • 34,653
  • 44
  • 154
  • 278
3
votes
3 answers

Subversion for version control

I am working on an application whose primary purpose would be to provide source control management. My idea is to use to SVNKit for file check-out and check-in. However, while working with SVNKit, I realised it does not have the speed I was looking…
Gaurav Panwar
  • 283
  • 2
  • 5
  • 11
3
votes
2 answers

SVNKit error when installing ADT 23.0.3 in Eclipse?

Today my Eclipse 4.4 tells me I can update to ADT 23.0.3.1327240. Yay! (I don't see anything related to SVNKit.) So I hit "Finish". I get: 'Updating Software' has encountered a problem. Cannot complete the install because one or more required items…
Garret Wilson
  • 18,219
  • 30
  • 144
  • 272
3
votes
4 answers

How do I make svnant/svnkit prompt for a username/password

I have an Ant script that needs to checkout a directory from Subversion. This works using svnant/svnkit. However, Subversion access is authenticated, and I do not want to store my user password in a file. Can I make svnkit pop up a password dialog?…
Thilo
  • 257,207
  • 101
  • 511
  • 656
3
votes
1 answer

How can I manually use TeamCity's bundled svnkit-cli?

I can't install SVN on this box, but we have a TeamCity build agent configured which has svnkit bundled, including svnkit-cli. Is it possible to invoke the cli programmatically, not through TeamCity? Ideally in a one-liner bash command, something…
craig
  • 285
  • 2
  • 10
3
votes
0 answers

java.lang.NoClassDefFoundError: org/tmatesoft/svn/core/SVNException

I want to achieve SVN checkout, commit, update function in my eclipse plugin project. So I added External JAR "org.tmatesoft.svnkit_1.7.9" in build path. However when I run my plugin project, there is "java.lang.NoClassDefFoundError:…
Shine Lee
  • 55
  • 7
3
votes
1 answer

One API to handle adding and updating files

I'm using SVNKIT 1.8 with SVN 1.8.5 and the SVN protocol to attempt to add files in bulk to my SVN repository. I would like to have one method for adding and updating files and the below code successfully handles both when using the FILE protocol…
c12
  • 9,557
  • 48
  • 157
  • 253
3
votes
0 answers

User doc for new Svnkit Api?

There seems to exist some new SVNKit API under "org.tmatesoft.svn.core.wc2" based on SvnOperationFactory according to some answers to svnkit questions: svnkitquestion. Yet i cannot find any documentation on how to use this / examples. The only…
nemoo
  • 3,269
  • 4
  • 38
  • 51
3
votes
1 answer

Coldfusion and SVNKit Log

I am trying to use SVNKit to get a Log of the SVN Entries in Coldfusion. I downloaded the latest SVNKit jar files and threw them in the lib folder under WEB-INF/lib. Here is my code that should return an Array Of Log Entries but this code is…
abbottmw
  • 752
  • 1
  • 5
  • 19
3
votes
1 answer

java apis for remote git repository access

Is there any java api available that can be used to access version history of a remote git repository when url is provided. I am looking for something equivalent to svnkit. I have looked into javagit but it seems it does not have a option for remote…
user1239080
  • 61
  • 2
  • 6
3
votes
1 answer

Efficient way to find out who added a file in Subversion initially

Is there an efficient way to find out programmatically, who added a file in Subversion initially, other than parsing the history manually? Preferably with the SVNKit Java Library or on the command line. I have the latest version checked out into a…
phisch
  • 4,571
  • 2
  • 34
  • 52
3
votes
1 answer

unable to connect to HTTPS svn server using svnkit from java app deployed on Heroku

I am using the svnkit to get some information about our svn repository. I used the examples mentioned in the svnkit documentation and I was able to fetch the details when I run the example in my local eclipse. Our repository is accessible via https…
Sam
  • 1,311
  • 2
  • 23
  • 47
3
votes
4 answers

Jenkins & caching of SVN Credentials

Like a lot of people I am banging my head (again) against Jenkins and the subversion plugin. Authenication through the website (enter credentials) fails on authentication. Funny, since I can access svn with the same credentials. I have…
user2208659
  • 31
  • 1
  • 1
  • 2
3
votes
2 answers

Eclipse Juno - Subversive SVN - Connection Timeout - Sorry, this connection is closed

I've got the following problem: Since my update from Eclipse Helios to Juno my SVN seems to close the connection after a while to the server and can't reconnect. I get the following: Sorry, this connection is closed. My server uses SVN v1.6.12.…
Ron
  • 22,128
  • 31
  • 108
  • 206