0
  • Requirement: The users of a Java program I want to develop should be able to version files using Subversion through my Java code
  • System details:windows XP 32 bit , Eclipse Juno
  • Problem:not able to install svnkit plugin to eclipse juno

I did the following on my Eclipse Juno, windows 32 bit machine:

  • Help->Add new Software-> 'Available Software' tab
  • Click 'Add Site...' button
  • Type http://eclipse.svnkit.com/1.7.x/ in the 'Location' field and press 'OK'.
  • Check the new site (it should appear in the list of update sites) and follow further steps as prompted by Eclipse.

    1. I did not get any further steps from eclipse
    2. I am getting an error "Site not find .." screenshot of the same
mliebelt
  • 15,345
  • 7
  • 55
  • 92
user2176576
  • 734
  • 3
  • 14
  • 39
  • It looks like a connectivity problem; I can't reproduce this error using Eclipse Kepler. Can you open the url http://eclipse.svnkit.com/1.7.x/ in a web-browser? – jpw Feb 25 '14 at 13:39
  • The update site also loads fine to me. Check your internet connections, like proxy and firewalls. – renke Feb 25 '14 at 14:12

1 Answers1

1

To integrate SVNKit in your Java program, you should do the following steps:

  1. Go to the Download page of SVNKit.
  2. Decide which Subversion version you want to support, in your case, 1.7.11 should be the best fit.
  3. Download the standalone version which contains the whole libraries you will have to include into your program.
  4. Decide where to store these libraries, so you have access to them during development. Often people use here a sub-directory libs in their source code.
  5. Only store the content of the lib directory into that location. The other parts may be useful as well, and your are able to see the source code of SVNKit by referencing the Zip-File you have downloaded, but that is another story.
  6. Try out one of their examples to see if your installation is correct and does work.

At the end, you have to solve the problem as well how to deploy your program, so that users may use it, but this could be addressed in another question :-)

And of course, the recipe would be different, when you want to use Maven for development in Java.

So your misunderstanding was, that when you develop in Eclipse, you have to take the Eclipse plugin of SVNKit (which is not what you need here).

mliebelt
  • 15,345
  • 7
  • 55
  • 92