Java search, indexing source attached to jar files [message #546739] |
Tue, 13 July 2010 23:25  |
Eclipse User |
|
|
|
To help us split a single large Eclipse project into multiple smaller
Eclipse projects I have created a classpath container that operates in a
similar fashion to the PDE "External Plug-in Libraries" project.
The custom classpath container attaches a source zip file to each of the jar
files.
Using Java search I can find any Java element except constant fields (static
final fields).
The warning about searching for constants is displayed, but I assumed that
as the source is available there should be no problem.
When I enable tracing of the search processing, I can see that the jar files
from the custom classpath container are indexed, but not the attached
source files.
With tracing enabled I have also seen that when the PDE project is created
the Eclipse SDK source bundles are indexed. So there appears to be some
mechanism to have attached source indexed by the background job. However the
source bundles for locally developed Eclipse plug-ins included in a target
platform are not indexed.
Does anyone know how to have the source files attached to jar files indexed
by the background job?
It would also be good if the PDE project could get all source bundles in a
target indexed, and not just the Eclipse SDK bundles.
Namaste, Bruce
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.05852 seconds