0

I am a new user of git. I am working to extend git functionality in eclipse on a local repository on my own system using java. I have to develop commit functionality of git using java. Can you please help exactly which libraries I should import for committing and version control? Is there any other library that I need to install in eclipse for the same? If it is, pl make me available a link for that.

3
  • What does this have to do with Swing? Commented Dec 16, 2012 at 9:02
  • 1
    Eclipse already has git support, which is opensource, so you could look into extending the Egit plugin Commented Dec 16, 2012 at 9:03
  • @MarkRotteveel Yes I know that Eclipse has git support but the thing is that I have to commit a random folder from my system to my local git repository. I need to code for the same. I had already gone though the Egit plugin link. Pl help.
    – Manoj
    Commented Dec 16, 2012 at 9:59

1 Answer 1

1

If you want to implement Git functionalities in Java a good library is JGIT.

JGit is an EDL (new-style BSD) licensed, lightweight, pure Java library implementing the Git version control system:

And again:

JGit has very few dependencies, making it suitable for embedding in any Java application, whether or not the application is taking advantage of other Eclipse or OSGi technologies

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.