Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 370125 - Can't compile or run the tests in Juno
Summary: Can't compile or run the tests in Juno
Status: RESOLVED FIXED
Alias: None
Product: JGit
Classification: Technology
Component: JGit (show other bugs)
Version: 1.3   Edit
Hardware: PC Linux
: P3 major (vote)
Target Milestone: 2.0   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-30 09:16 EST by Paul Webster CLA
Modified: 2012-06-14 08:00 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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