Bug 6951 - DCR - Builder should ignore filtered out resources
Summary: DCR - Builder should ignore filtered out resources
Status: RESOLVED WORKSFORME
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 2.0   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: 2.0 M4   Edit
Assignee: Philipe Mulet CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-12-14 12:04 EST by Gary Coldren CLA
Modified: 2002-03-01 04:33 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gary Coldren CLA 2001-12-14 12:04:43 EST
The Java builder copies all non-Java resources to the output directory tree.  
If a user has added resource and/or Java element filters to weed out files that 
are not part of the Java project per se, then the Java builder should ignore 
these files.

My current work environment is a mixture of C, C++ and Java.  The source tree 
we have contains all of them, plus several other extraneous files that are 
managed by a CM tool but are not code files.  I can't change the source tree, 
but I can filter these non-Java files out of my Eclipse project.  The Java 
builder should honor my filters and not copy these files to the output tree.
Comment 1 Philipe Mulet CLA 2001-12-18 05:02:09 EST
Would need addition of a filter mechanism for resource copying (could be 
reusing the platform mechanism ?)
Comment 2 Philipe Mulet CLA 2002-02-26 07:21:31 EST
We introduced in 20020214 a mechanism to filter files from the resource copy 
behavior.

Resource copy filters : A new setting allows to specify exclusion filters for 
resource being copied to the output folder.. 
option id: "org.eclipse.jdt.core.builder.resourceCopyExclusionFilters" 
possible values: { "[,]* } where is a file name pattern (only * wild-cards 
allowed) 
default: "" 

This setting will soon be surfaced in the Java UI.