Bug 208171 - [sourcemapper] Support multiple explicit roots in source archive
Summary: [sourcemapper] Support multiple explicit roots in source archive
Status: NEW
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.4   Edit
Hardware: PC Windows XP
: P3 enhancement with 1 vote (vote)
Target Milestone: ---   Edit
Assignee: JDT-Core-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-30 22:59 EDT by Darin Wright CLA
Modified: 2011-03-29 09:08 EDT (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Darin Wright CLA 2007-10-30 22:59:02 EDT
Currently, a source archive attachment for a binary jar can have one explicit root, or multiple auto-detected roots. It would be useful to be able to have mutliple explicit roots, or be able to spec an explicit root within the archive where auto-detection of roots can start from.

For example, to ship source for JUnit 3.8 and JUnit 4.0 in the same archive, auto-detect would not work well (since source names overlap). It would be possible with distinct/explicit roots. One could imagine a similar scenario where each explicit root could have sub-roots that need auto-detection.
Comment 1 Darin Wright CLA 2007-10-30 23:02:10 EDT
Also see bug 202462. There are cases where plug-ins may want the flexibility to bundle source in the same archive.
Comment 2 Brian Bauman CLA 2007-11-29 11:59:14 EST
If we could do this, it would help clean up extra folders in a binary plug-in project that might otherwise confuse users (ie. why is there a second MANIFEST.MF in my project?).
Comment 3 Jerome Lanneluc CLA 2007-11-30 10:22:47 EST

*** This bug has been marked as a duplicate of bug 173641 ***
Comment 4 Jerome Lanneluc CLA 2007-11-30 12:00:21 EST
Oops, this is not a dup of bug 173641 (which is about specifying multiple source attachments)
Comment 5 Jerome Lanneluc CLA 2008-09-11 10:52:49 EDT
Targeting M5
Comment 6 Jerome Lanneluc CLA 2009-01-09 05:12:46 EST
Not for 3.5