List of usage examples for org.eclipse.jgit.junit.http SimpleHttpServer SimpleHttpServer
public SimpleHttpServer(Repository repository)
From source file:org.eclipse.egit.ui.wizards.clone.SampleTestRepository.java
License:Open Source License
private void serveHttp() throws Exception { httpServer = new SimpleHttpServer(src.getRepository()); httpServer.start();//from w w w.j a v a 2 s. co m uri = httpServer.getUri().toString(); }