Bug 23126 - allow selecting directories when attaching source to jar's
Summary: allow selecting directories when attaching source to jar's
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 2.0   Edit
Hardware: PC All
: P3 normal (vote)
Target Milestone: 2.1 M4   Edit
Assignee: Jerome Lanneluc CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-09-03 14:01 EDT by Jalpesh CLA
Modified: 2002-12-17 09:53 EST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jalpesh CLA 2002-09-03 14:01:33 EDT
Currently when I want to attach source to an external jar, I can only select 
jar files which contain source. In my case, my source files are not jar'ed up 
but are in a folder. It would be nice if eclipse would also allow users to be 
able to select directories for source rather than just picking archive files.

Thanks,
Jalpesh.
Comment 1 Philipe Mulet CLA 2002-10-08 12:37:57 EDT
You should soon be able to use external library folders as well, once the 
platform allows to mount external folders. You would then simply use this 
mounted folder on your classpath.
Comment 2 Philipe Mulet CLA 2002-10-28 09:04:58 EST
Need to double check scenario would work once platform mount points support is 
in (deltas etc...)
Comment 3 Philipe Mulet CLA 2002-10-28 09:26:36 EST
Sorry, I misunderstood your original problem.
We do not plan to allow attaching expanded sources to libraries for 2.1.
Ramifications would be quite involving in term of refreshing changes to 
indivual source files.

Deferring. Nice to have though.
Comment 4 Dani Megert CLA 2002-11-08 04:35:19 EST
*** Bug 25842 has been marked as a duplicate of this bug. ***
Comment 5 Dani Megert CLA 2002-11-08 04:36:01 EST
*** Bug 22145 has been marked as a duplicate of this bug. ***
Comment 6 rick labanca CLA 2002-11-08 08:31:49 EST
Hell, I'd take it if it required a manual refresh. If that's the hard issue, 
why not do it this way? Right now to make a change, I have to 
unpack/edit/repack/run.

If the IDE would allow pointing to sources that are out of the normal project 
tree, that would do it also. 
Comment 7 Jerome Lanneluc CLA 2002-11-18 06:15:18 EST
Reopening
Comment 8 Jerome Lanneluc CLA 2002-11-18 06:37:12 EST
Moved source attachment code from JarPackageFragmentRoot to PackageFragmentRoot 
and changed SourceMapper to find source in directories.
Comment 9 David Audel CLA 2002-12-17 09:53:49 EST
Verified.