Community
Participate
Working Groups
Many open source projects have source in multiple directories. For example, compass has source in tiger/src, sandbox/src and main/src. Sadly, if I try and add a source attachment to a jar, it only lets me add either a file, a folder or a workspace. I would like to add more than one. Yes, I suppose I could create a new project and add the workspace with multiple source folders, but I already have too many projects, and that takes more time.
This is a feature request.
Nice suggestion, but post 3.3 (since we are booked already until then)
Philippe, I'm a patient person, I guess I'll just have to use the workaround until then. Keep up the good work on 3.3. Thanks, Jonathan
*** Bug 208171 has been marked as a duplicate of this bug. ***
*** Bug 200521 has been marked as a duplicate of this bug. ***
*** Bug 119522 has been marked as a duplicate of this bug. ***
Targeting M5
Not for 3.5
*** Bug 209501 has been marked as a duplicate of this bug. ***
when/if doing this it would be nice to also have the possibility to enter an internal path as is possible for the javadoc. i also think that i would be a good idea to make these 2 dialog pages (source and java doc location) identical.
What was the latest on this? I can't seem to find a way to attach multiple source files to a single JAR. For example, the JDK has several disparate sets of source and I'd like to be able to use all of them. At present, I can't view the source for sun.print.RasterPrinterJob in eclipse.
https://bugs.eclipse.org/bugs/show_bug.cgi?id=119522 Strange. This bugs seems to be open since eight years now, while I find myself switching source attachments almost every day. :)
Marking for 4.4. Note that a fix depends on how complicated it going to be and how much effort it will take and at the moment, we are not promising a fix, but will give due consideration for 4.4.
Since the existing APIs on IClasspathEntry and JavaCore cannot be modified, the new API should be a new IClasspathAttribute constant, e.g. ADDITIONAL_SOURCE_ATTACHMENTS. The attribute should contain triplets of {sourceAttachmentPath, sourceAttachmentRootPath, sourceAttachmentEncoding}, and we should define helper methods to encode and decode the attribute from/to a String[attributeIndex][3].
I know I promised a 'due consideration' for 4.4. But due to the ongoing Java 8 maintenance work, we won't be able to take this up during Luna time frame. Moving it to 4.5.
Sorry, this needs to be moved out of 4.5.
No progress yet and unlikely to get time during 4.6. Moving out.
Bulk move out of 4.8