From Section 20.1 in our book:
Our approach, useful for searching and supporting multiple versions of Eclipse at the same time (see Section 19.2.6, “Building against different versions of Eclipse”), is to create one reference project for each version of Eclipse to be searched. This project contains no source of its own, but contains all the Eclipse plug-ins on its classpath so that a search can include the entire source for Eclipse. To include or exclude a particular version of Eclipse in your searches, simply open or close the corresponding reference project.
We created a tool for automatically creating a reference project. The reference project's src folder should be empty because the project contains only references to code elsewhere... no source of its own. To create a reference project, select File > New > Other... to open the New wizard, then select QualityEclipse Tools > New Reference Project.
You can install the Reference Project Tool using the QualityEclipse Tools Update Site.
The source is available both as part of the QualityEclipse Tools feature and as a separate download from the QualityEclipse Tools Update Site. The wizard classes involved are:
These tools are free and so I work on them as I have time.
Please
send me email
with any comments, suggestions, and bugs you have.