Git与我的Java EE应用程序集成 [英] Git integration with my Java EE application

查看:98
本文介绍了Git与我的Java EE应用程序集成的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有要求将GIT与我的Java EE应用程序集成在一起的要求。此应用程序提供用户在UI上工作,这将允许用户修改内容,通过创建文件添加内容,并使用先前承诺的版本执行视觉差异。此外,还会提供用户创建分支机构,基线等。

您可以请我指出正确的参考资料还是提供一些见解?我看到有一种叫做JGit的东西,但它更像是一个eclipse插件。我想做一些非常类似于 http://www.scm-manager.org/screenshots/但是不知道,我是否必须从头开始编写所有的东西,或者我可以集成SCM-Manager和更改皮肤等。 听起来你已经达到了最好的答案 - SCM-Manager。我不知道你能找到一个更接近的例子。



如果你看看它使用jGit的源代码, jGit不是eclipse插件,它是一个git的java实现,恰好被eGit使用,它是一个eclipse插件。



如果您最终使用SCM-Manager的源代码,请确保您遵守其许可协议!


I have a requirement where in I want to integrate GIT with my Java EE application. This application provides the user to work on an UI which would allow the user to modify content, add content by creating files and also perform visual diff with the previously committed version. Also, would provide the user to create branches, baselines etc.

Can you please point me to the right reference or provide me some insight ? I see there is something called JGit but that is more of an eclipse plugin. I want to do something very similart to http://www.scm-manager.org/screenshots/ but wonder, would I have to write everything from scratch or I can integrate SCM-Manager and change skins etc.

解决方案

Sounds like you've hit upon the best answer already - SCM-Manager. I don't know that you'll be able to find an example that's closer.

If you look at the source it uses jGit under the covers. jGit isn't an eclipse plugin, it's a java implementation of git, that happens to be used by eGit, which is an eclipse plugin.

If you do end up using SCM-Manager's source code, make sure you comply with its licencing!

这篇关于Git与我的Java EE应用程序集成的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆