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

Bug 339242

Summary: [server] Compile error due to dependency on JGit head
Product: [ECD] Orion Reporter: John Arthorne <john.arthorne>
Component: ClientAssignee: Tomasz Zarna <tomasz.zarna>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 0.2   
Target Milestone: 0.2   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description John Arthorne CLA 2011-03-08 11:15:06 EST
JGit added a new method CommitCommand.setAppend(). This change hasn't appeared in a stable JGit build yet, but we started referencing it in our GitCommitHandlerV1. This causes a compile error in our build.
Comment 1 John Arthorne CLA 2011-03-08 11:21:54 EST
I have reverted the change on our side for now so we can do an integration build. Once our build is consuming a stable build of JGit that contains the change, we can add it back.
Comment 2 Tomasz Zarna CLA 2011-03-08 11:35:42 EST
I will handle this: will check if the new method is shipped with a JGit build in M7. Sorry for the trouble.
Comment 3 Tomasz Zarna CLA 2011-03-08 11:56:20 EST
I've marked org.eclipse.orion.server.tests.servlets.git.GitCommitTest.testCommitAmend() to be ignored, otherwise it would fail.
Comment 4 Tomasz Zarna CLA 2011-03-14 05:28:13 EDT
The latest n-build from JGit is 0.12.0.201103040915. The fix (bug 339088) is definitely not there yet. Will check again next week.
Comment 5 Tomasz Zarna CLA 2011-04-05 09:46:04 EDT
The fix is in JGit 0.12.0.201104032215 and later. I'm re-enabling the amend switch in server API, see http://git.eclipse.org/c/e4/org.eclipse.orion.server.git/commit/?id=b1a55353e7e3f47458a2b248c2708d61dcc29b5b.