Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 331451 - How to enter a directory path in the Project's Resource > Resource Filter
Summary: How to enter a directory path in the Project's Resource > Resource Filter
Status: CLOSED INVALID
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Resources (show other bugs)
Version: 4.1   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-Resources-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-30 11:32 EST by Ronan Mulvaney CLA
Modified: 2010-11-30 11:52 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ronan Mulvaney CLA 2010-11-30 11:32:23 EST
Build Identifier: I20100608-0911

I am trying to take advantage of your Resource Filters to narrow down the working set of our project.

In this I am able to add inclusions for root level directories e.g. source, build, etc however I cannot figure out a valid entry for including or excluding a sub-level directory from a "Project Relative Path" e.g. the inclusion of build\svr\cls - as it exists in my classpath.
We through a command line process output a lot of content into a build directory and therefore in Eclipse I'd prefer to only include here what is relative to Eclipse i.e. the build\svr\cls directory.
Any help here would be appreciated as to whether this is supported and what the pattern should be for this.

Reproducible: Always
Comment 1 Serge Beauchamp CLA 2010-11-30 11:44:53 EST
Hi, 

Can you be more specific about the hierarchy structure of your workspace, and the virtual hierarchy that you want to create?

Generally speaking, if you have the following workspace:

wksp/
    proj/  
       subdir/
             to_exclude/
                       foo.txt

And you'd like to end up with the following hierarchy:

wksp/
    proj/  
       subdir/

You can either create an exclude filter on 'subdir' directly for folders matching 'to_exclude', or you can create the following filder on 'proj':

     Exclude all: Project Relative Path matches 'subdir/*' (recursive)

Which will accomplish the same thing.
Comment 2 Ronan Mulvaney CLA 2010-11-30 11:52:24 EST
You directed me at my problem i.e. I wasn't aware that you could add these to any resource under a project and what I was trying to do was to exclude all from the project level.
Thanks.