Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EGit » API for Git/EGit?(Inquiry for programmatic access to EGIT capabilities)
API for Git/EGit? [message #720982] Wed, 31 August 2011 11:58 Go to next message
Randall Becker is currently offline Randall Becker
Messages: 13
Registered: July 2009
Junior Member
G'day.

We've currently got a substantial investment in ClearCase automation, implemented through their CM API and plugged in to our own ECLIPSE plug-in. Looking at EGit, we're trying to work out the effort involved in moving the underlying SCM provider to EGit, but haven't found any way to migrate our automation layer. Is there some form of API available (classes, messages, procedures, etc.) for driving capabilities in EGit, including version inquiries?

TIA,

Randall
(no subject) [message #721091 is a reply to message #720982] Wed, 31 August 2011 16:12 Go to previous message
Robin Rosenberg is currently offline Robin Rosenberg
Messages: 317
Registered: July 2009
Senior Member
Randall Becker skrev 2011-08-31 17.58:
> G'day.
>
> We've currently got a substantial investment in ClearCase automation,
> implemented through their CM API and plugged in to our own ECLIPSE
> plug-in. Looking at EGit, we're trying to work out the effort involved
> in moving the underlying SCM provider to EGit, but haven't found any way
> to migrate our automation layer. Is there some form of API available
> (classes, messages, procedures, etc.) for driving capabilities in EGit,
> including version inquiries?

At the Git level everything is implemented by JGit. EGit is the layer
that binds JGit to Eclipse.

Try to stick with the org.eclipse.jgit.api package as the primary
entry point into JGit.

At the level of integration with Eclipse there is no "API", everything
is internal, except where we hook into Eclipse for the Team operations.

The Team API is very file oriented and does not reveal the capabilities
of Eclipse very well, so you probably want to use JGit for the Git
operations, but use the Ecliose API:s to get handles to your project.

Clearcase and Git are so different that switching SCM might be an
"interesting" task.

-- robin
Previous Topic:Is there a way to push a tag in EGit?
Next Topic: ! [remote rejected] master -> master (prohibited by Gerrit)
Goto Forum:
  


Current Time: Mon Jul 28 18:48:10 EDT 2014

Powered by FUDForum. Page generated in 0.04784 seconds