Bug 128179 - [API]SourceMapper
Summary: [API]SourceMapper
Status: NEW
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.2   Edit
Hardware: PC Windows XP
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: JDT-Core-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 170405 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-02-16 06:22 EST by Mathias Muller CLA
Modified: 2007-08-22 12:07 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mathias Muller CLA 2006-02-16 06:22:57 EST
Hi,

I'am currently developping an eclipse plugin that will automatically/lazilly retreive source directly from a web server.
The idea is to free developper from downloading/attaching source and javadoc for OSS projects dependency.

The plugin work quite well and can be tested at :
http://www.worldofjava.org

To allow source to be downloaded from website i have to install a home made source mapper on PackageFragmentRoot before open classeditor.

First problem is that to do so i have to hack api and to make some "discouraged" class cast, but i can live with that.

The big issue is, since the javamodel is not maintain in memory but regulary flushed, my mapper is replaced by original mapper when somebody ask for it.

Could you please open api with an extension point (or anything else) for sourcemapper instanciation.

Source mapper allocation is located at only one place PackageFragmentRoot.createSourceMapper(IPath sourcePath, IPath rootPath) so i guess is not a big deal to fix, isn't it?
Thanks
Comment 1 Jerome Lanneluc CLA 2007-08-22 12:07:46 EDT
*** Bug 170405 has been marked as a duplicate of this bug. ***