Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EGit / JGit » Use of GitServlet?
Use of GitServlet? [message #649231] Tue, 18 January 2011 10:13
YoannCh  is currently offline YoannCh Friend
Messages: 1
Registered: January 2011
Junior Member
Hello there,

I'm new to JGit and would like to use it as a Git server. I guess this can be done over HTTP using the GitServlet on my application server (tomcat for example), but couldn't find any tutorial, except the documentation from te GitServlet class itself :

<servlet>
     <servlet-name>GitServlet</servlet-name>
     <servlet-class>org.eclipse.jgit.http.server.GitServlet</servlet-class>
     <init-param>
       <param-name>base-path</param-name>
       <param-value>/var/srv/git</param-value>
     </init-param>
     <init-param>
       <param-name>export-all</param-name>
       <param-value>0</param-value>
     </init-param>
 </servlet>
   <servlet-mapping>
     <servlet-name>GitServlet</servlet-name>
     <url-pattern>/git/*</url-pattern>
   </servlet-mapping>


Is there a tutorial somewhere? Or does anyone know how to proceed?

Thanks for any help! Very Happy

Yoann
Previous Topic:ignore (not delete!) filtered project resources
Next Topic:Commit dialog - Mylyn integration
Goto Forum:
  


Current Time: Sat Apr 27 03:36:35 GMT 2024

Powered by FUDForum. Page generated in 0.02418 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top