Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 370125

Summary: Can't compile or run the tests in Juno
Product: [Technology] JGit Reporter: Paul Webster <pwebster>
Component: JGitAssignee: Project Inbox <jgit.core-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: major    
Priority: P3 CC: matthias.sohn, remy.suen
Version: 1.3   
Target Milestone: 2.0   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Paul Webster CLA 2012-01-30 09:16:30 EST
I have Juno M5, and I tried to pull in jgit and egit, and mostly followed http://wiki.eclipse.org/EGit/Contributor_Guide (hamcrest and SWTBot are missing).

The main bundles appear to compile, but none of the http bundles will (and that propagates up to the egit.ui tests, as it imports org.eclipse.jgit.junit.http).



It appears there's an exclusion range on jetty in the http bundles, and Juno ships with 8.1.0.  From /org.eclipse.jgit.junit.http/META-INF/MANIFEST.MF

 org.eclipse.jetty.continuation;version="[7.1.0,7.6.0)",
 org.eclipse.jetty.http;version="[7.1.0,7.6.0)",
 org.eclipse.jetty.http.security;version="[7.1.0,7.6.0)",
 org.eclipse.jetty.io;version="[7.1.0,7.6.0)",
 org.eclipse.jetty.security;version="[7.1.0,7.6.0)",
 org.eclipse.jetty.security.authentication;version="[7.1.0,7.6.0)",
 org.eclipse.jetty.server;version="[7.1.0,7.6.0)",
 org.eclipse.jetty.server.handler;version="[7.1.0,7.6.0)",
 org.eclipse.jetty.server.nio;version="[7.1.0,7.6.0)",
 org.eclipse.jetty.servlet;version="[7.1.0,7.6.0)",
 org.eclipse.jetty.util.component;version="[7.1.0,7.6.0)",
 org.eclipse.jetty.util.log;version="[7.1.0,7.6.0)",
 org.eclipse.jetty.util.thread;version="[7.1.0,7.6.0)",

PW
Comment 1 Matthias Sohn CLA 2012-04-19 02:24:51 EDT
the following changes should fix that:

https://git.eclipse.org/r/#/c/5406/
https://git.eclipse.org/r/#/c/5543/

Though at the moment I am stuck with a test error in 5406 on Linux :(
As soon as this is fixed I will also add a target platform for JGit for
developers not interested in EGit.
Comment 2 Matthias Sohn CLA 2012-06-14 08:00:06 EDT
This was fixed and documented in the contributor guide [1].

[1] http://wiki.eclipse.org/EGit/Contributor_Guide#JGit_HTTP_Tests