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

Bug 357996

Summary: Automatically link to Javadoc or source code inside library Jar
Product: [Eclipse Project] JDT Reporter: Timo Kinnunen <timo.kinnunen>
Component: CoreAssignee: JDT-Core-Inbox <jdt-core-inbox>
Status: CLOSED WORKSFORME QA Contact:
Severity: enhancement    
Priority: P3 CC: remy.suen
Version: 3.7   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Timo Kinnunen CLA 2011-09-16 18:19:59 EDT
Build Identifier: 20110615-0604

It should be possible to distribute a library as a single Jar-file that contains its Javadoc or source code inside its Jar-file. Eclipse should detect this and automatically link to the Javadoc and/or source code when the library is added to a project. The end result should be exactly like manually linking them from separate files/folders.

Potential implementation:
Javadoc is located compressed in META-INF/javadoc.jar (or .zip) or the uncompressed Javadoc files are located under META-INF/javadoc-folder.

This is a request for a new feature. I don't know the security or compatibility implications of the aforementioned implementation.

Reproducible: Always

Steps to Reproduce:
1. As far as I can tell, this feature doesn't exist in this form.
Comment 1 Remy Suen CLA 2011-09-16 19:20:11 EDT
Java tooling bugs and enhancement requests go to JDT.
Comment 2 Timo Kinnunen CLA 2013-06-26 13:48:39 EDT
Using Maven from Eclipse takes care of source code and Javadoc attachments and thus this feature isn't very important to me.