svn « Development « Java I/O Q&A





1. mvn release:prepare doesn't catch that I have modified files?    stackoverflow.com

Running on a Windows system, against a locally hosted VisualSVN server instance. I have C:\Program Files\VisualSVN Server\bin on my PATH variable so that I can simply run svn commands from the ...

2. java cvs,svn file structure    stackoverflow.com

I have recently learnt how to program in java, I was looking at some open source programs from sourceforge.net and after downloading these programs I don't understand the file structure most ...

3. How to use svnClientAdapter java API getLogMessages(java.io.File path, SVNRevision revisionStart, SVNRevision revisionEnd)    stackoverflow.com

I just want to get all the log messages for a given resource in the repository. However, given this particular API, I get errors if I try to specify the start ...

4. svnkit: how to enumerate svn repositories in a root directory?    stackoverflow.com

How do you use svnkit to enumerate svn repositories in a root directory?

5. SVNKit: Retrieve files for specific revision    stackoverflow.com

I'm writing a tool which will push changes to database after commit to svn. The question is how to retrieve dirs for particular revision.

SVNClientImpl clientImpl = SVNClientImpl.newInstance();
clientImpl.username(name);
clientImpl.password(password);
DirEntry[] dirs = clientImpl.list(url, Revision.getInstance(revision), true);
for ...

6. Add a new file in Intellij doesn't add to subversion    stackoverflow.com

I'm not sure what I did to cause this, but adding a new file or package in IntelliJ now doesn't add them to subversion, and I have to add them manually ...

7. How to check in any file from java code to svn branch    stackoverflow.com

I want to implement a functionality in which I want to do some svn related operations for example:- update, commit, revert etc.. through my Java code. Thanks in advance.

8. change SVN directory permissions using SVNKit    stackoverflow.com

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 ...

9. Subversion username and last modified date in Java file    stackoverflow.com

When the user checks-in a Java file, I have a requirement to update the Subversion username and file's last modified date in the Java file (comments section at the top of ...





10. Get previous modified revision of a file using svnkit    stackoverflow.com

I am using SVN kit to gather some metrics from SVN repositories. I am stuck with this simple problem and am unable to get through it. I have an SVNRepository object that ...

11. svn enabling write operation on files    stackoverflow.com

i have set an repository location of a computer from my own network. but i cannot do any changes on the files. how to solve the problem?

12. Using SVNKit, how can I switch a directory to a different branch?    stackoverflow.com

I have a working directory in trunk and would like to switch it to a specified branch. How can I do that? I'd like to have a method

public static void switchToBranch(File baseDir, ...

13. java.io.FileNotFoundException: .svn (Access is denied)    stackoverflow.com

I'm looping through a directory in Java, trying to read each of the files. The directory contains some svn files in it which deny access. I could test the file name ...

14. java svnkit: read content of file directly from repository, without exporting it    stackoverflow.com

I am using svnkit in Java to interact with a svn repository. I would like to read the content of a file that is stored in svn without checking it out from ...

15. NoSuchMethodError using svnkit to add a file to my repository    stackoverflow.com

I'm trying to add a file to my repository using svnkit but I get a NoSuchMethodError referencing this line of code:

SVNDiffWindow diffWindow = SVNDiffWindowBuilder.createReplacementDiffWindow(deltaLength);
Here's the stack trace:
java.lang.NoSuchMethodError: org.tmatesoft.svn.core.io.diff.SVNDiffInstruction.<init>(IJJ)V
at org.tmatesoft.svn.core.io.diff.SVNDiffWindowBuilder.createReplacementDiffWindow(SVNDiffWindowBuilder.java:529)
at adc.ui.util.SvnTest.testSvnCommit(SvnTest.java:109)
And here's ...

16. How can I get all revisions (not latest) for a special file using SVNkit?    stackoverflow.com

I have used a sample java code to get a file's revision history, but only got one revision. There are many revisions in respository for this file. So how can I get ...





17. Can i devide files into group of 1000 files from a folder using java    stackoverflow.com

I am using tortoise Svn which is not able to commit huge data at a time so i want to split that data into some batches and then commit to svn. can ...

18. Downloading all files in each resivision from a SVN repo using SVNkit - Please HELP    stackoverflow.com

Here is my problem: I am working on a project as part of my diploma thesis. I am trying to connect to different Open Source project repositories and get info from ...

19. Get contents of file for a specific revision (SVNKit)    stackoverflow.com

I have a very simple question. I have one file in a SVN repository and I want: 1) find out what is the first revision the file was created 2) what is the last ...

20. How to access files in SVN using java    stackoverflow.com

I need help from you, i want open a file from SVN using java code, can any one tell me the flow of accessing the files, or can any one send ...