Bug 161729 - Source attachments to SVN repositories
Summary: Source attachments to SVN repositories
Status: NEW
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.2   Edit
Hardware: PC Linux
: P3 enhancement with 4 votes (vote)
Target Milestone: ---   Edit
Assignee: JDT-Core-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-20 10:54 EDT by Paul Austin CLA
Modified: 2009-10-14 04:52 EDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Austin CLA 2006-10-20 10:54:03 EDT
Many open source projects use SVN as their source code repository and provide "tags" for each release.

It would be nice in Attach Source for a jar file to point it at the http URL to the svn repository for that branch.

An extension to this would be to allow the developers of a jar file to add a Source-Location: attribute to the META-INF/MANIFEST.MF in the jar file to automatically have the source code attached. You could even have different source attachements for different parts of the package heirarhy in this approach, using the Per-Entry attributes.

All of this would probably need a caching component so it wouldn't download the file every time it was viewed.

Cheers,
Paul
Comment 1 Enrico Schnepel CLA 2009-01-12 04:59:25 EST
It should not be restricted to svn repositories. Instead any url should be accepted in a way that only the java-resource path must be added. This would be awesome!