[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.tools.jdt] Re: How to avoid search hits in JAR files?

Antranig Basman wrote:
On Sat, 08 Sep 2007 21:10:03 +0100, Eric Rizzo <eclipse5@xxxxxxxxxxxx> wrote:

Antranig Basman wrote:
A framework I am developing deploys JARs which end up in dozens of projects in my workspace,
and hence any searches I make have copious duplicate hits, for each copy of the JARs. How
can I filter searches to exclude these? None of the supplied filter options seem slightly
relevant, which all relate to the *code context* of the hit, rather than its packaging.

You can define a Working Set (or Working Sets) that only includes the source that you want to search, then limit the scope of the search to the Working Set(s).


Hope this helps,
    Eric

Cheers Eric - Yes, I had considered working sets. The issue is, these JARs are dependencies of projects that I *do* want searched, that is, I would like the code directly within the projects to be marked as a search target, but would like to exclude JARs within the same project

A Working Set should still work or you - just include the source directories and exclude the JARs.


Eric