Community
Participate
Working Groups
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.
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.
Need to double check scenario would work once platform mount points support is in (deltas etc...)
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.
*** Bug 25842 has been marked as a duplicate of this bug. ***
*** Bug 22145 has been marked as a duplicate of this bug. ***
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.
Reopening
Moved source attachment code from JarPackageFragmentRoot to PackageFragmentRoot and changed SourceMapper to find source in directories.
Verified.