Bug 39635 - Error setting exclusion filter in source folder on build path
Summary: Error setting exclusion filter in source folder on build path
Status: RESOLVED WORKSFORME
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 2.1   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: 3.0 M2   Edit
Assignee: JDT-Core-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-07-04 07:54 EDT by Klaus Dicks CLA
Modified: 2003-07-14 08:27 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Klaus Dicks CLA 2003-07-04 07:54:39 EDT
 
Comment 1 Klaus Dicks CLA 2003-07-04 07:56:59 EDT
Trying to filter all CVS folders from my source path I entered the pattern
'**/CVS*' which  doesn't work. Another try was '**/CVS' which doesn't work also.
Comment 2 Debbie Wilson CLA 2003-07-07 11:23:07 EDT
Transferring to VCM as I think we've seen this before and VCM offered a 
solution.  Please reassign to UI if I'm wrong.
Comment 3 Michael Valenta CLA 2003-07-07 14:07:41 EDT
Exclusion filters do not support multiple levels so just CVS should do it. 
Having said that, the CVS folders should be hidden by default. The only time 
this fails to happen is if a project is imported before the CVS plugin is 
loaded. To avoid this problem, opern the CVS Repositories view (or perform a 
CVS operation) before importing a project that contains CVS directories.
Comment 4 Klaus Dicks CLA 2003-07-08 02:05:05 EDT
The Project isn't imported from CVS. It's created as a normal Java Project.

By the way: what does the the pattern '**/' in exclusion filter stand for if not
for excluding a directory from a path with an unknown depth?
Comment 5 Michael Valenta CLA 2003-07-08 09:29:40 EDT
Sorry. I misunderstood your problem. Reassigning to JDT since they provide the 
source folder exclusion filter.
Comment 6 Dirk Baeumer CLA 2003-07-08 10:19:46 EDT
Philippe, can you shed some light on this.
Comment 7 Philipe Mulet CLA 2003-07-14 08:15:46 EDT
Like Ant patternsets, we support multiple levels through the special 
pattern '**' (like '*' but at any depth in the directory structure).

In order to manually exclude CVS folder everywhere in a source tree '**/CVS/'
(note trailing path separator). If omitting trailing path separator, then only 
leaf files will be considered.

'**/CVS/' is equivalent to '**/CVS/**'

Is it ok to close ?
Comment 8 Klaus Dicks CLA 2003-07-14 08:22:03 EDT
Yes, thank you for your help.
Comment 9 Philipe Mulet CLA 2003-07-14 08:27:38 EDT
Closing