Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 370012 - JGit source bundles are broken
Summary: JGit source bundles are broken
Status: RESOLVED FIXED
Alias: None
Product: JGit
Classification: Technology
Component: JGit (show other bugs)
Version: 1.3   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-27 16:10 EST by Rüdiger Herrmann CLA
Modified: 2014-04-25 18:31 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 Rüdiger Herrmann CLA 2012-01-27 16:10:03 EST
The JGit 1.2.x and 1.3.x source feature is not consumable.

Steps to reproduce:
1. add JGit to the target platform from one of these software repos: 
 http://download.eclipse.org/egit/updates
 http://download.eclipse.org/egit/updates-nightly
 and make sure to also select the "Eclipse JGit - Source" feature 
2. (if not yet there) create a project htat has a dependency on JGit
3. open a class (Ctrl+Shift T) from JGit, e.g. AddCommand
-> instead of the source, only the class file is shown :(

The source bundle itself seems to be functional. Explicitly specifying the org.eclipse.jgit.source bundle/jar as an external source attachment works - until Eclipse is restarted.
Whereas importing org.eclipse.jgit as a "Source Project" creates a project that is empty apart form the manifest but contains a org.eclipse.jgit_1.x.jar

This issue hinders access to the sources and thus is very annoying for JGit adopers.
Comment 1 Rüdiger Herrmann CLA 2012-06-26 07:03:48 EDT
With JGit 2.0.0.201206130900-r this issue is still reproduceable. Can you reproduce this? Are there any plans to fix this?
Comment 2 Robin Stocker CLA 2014-04-25 17:55:22 EDT
Does the problem still exist?
Comment 3 Rüdiger Herrmann CLA 2014-04-25 18:18:57 EDT
(In reply to Robin Stocker from comment #2)
> Does the problem still exist?
With version 3.3.2, this seems to be fixed.
Comment 4 Robin Stocker CLA 2014-04-25 18:31:12 EDT
(In reply to Rüdiger Herrmann from comment #3)
> (In reply to Robin Stocker from comment #2)
> > Does the problem still exist?
> With version 3.3.2, this seems to be fixed.

Thanks for testing, and sorry for the lack of response on our part.