Community
Participate
Working Groups
Some projects, like Apache XmlBeans, package class files from multiple source directories into a single jar file. Since it is not possible to attach multiple source locations to a jar, it is not possible to view the source for all classes for the jar in the editor. An alternative would be for eclipse to scan subdirectories of the attached source location when looking fo source. This would allow specification of the parent for multiple source directories.
The second alternative mentioned in the original description seems to work for 3.1.1. Perhaps this enhancement is impelemented?
Closing as WORKSFORME since now the source mapper has support multiple roots.
How does this work? I can't seem to attach more than one source location to a JAR file.
(In reply to comment #3) > How does this work? I can't seem to attach more than one source location to > a JAR file. For that to work, you need to have all the source folders under a folder and add that as the source location. The sub folders of the source locations are scanned and considered as multiple roots. I didn't confirm this now, but that's my understanding of the alternative being discussed.