Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EGit » Use of GitServlet?
Use of GitServlet? [message #649231] Tue, 18 January 2011 05:13
YoannCh  is currently offline YoannCh
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: Wed Jul 23 01:50:12 EDT 2014

Powered by FUDForum. Page generated in 0.01672 seconds