Bug 33696

Summary: Java source exclusion filter stopped working in RC1
Product: [Eclipse Project] JDT Reporter: Jonathan Edwards <edwards>
Component: CoreAssignee: JDT-Core-Inbox <jdt-core-inbox>
Status: RESOLVED WONTFIX QA Contact:
Severity: normal    
Priority: P3    
Version: 2.1   
Target Milestone: 2.1 RC2   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Jonathan Edwards CLA 2003-03-03 14:59:50 EST
There is some bogus Java code sitting in a certain directory in my project. I
added the directory to the Java source build path exclusion filter to ignore it.
That worked in M5, but the first time I did a complete rebuild in RC1 it stopped
working. The excluded package is now being compiled and errors are reported.
Comment 1 Kent Johnson CLA 2003-03-03 17:29:41 EST
Can you please paste your .classpath file into this PR.
Comment 2 Jonathan Edwards CLA 2003-03-03 17:42:05 EST
My .classpath:

<?xml version="1.0" encoding="UTF-8"?>
<classpath>
    <classpathentry excluding="alloy/gui/mac|doc|gmp|SatLab|bin"
        kind="src" path=""/>
    <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
    <classpathentry kind="output" path="bin"/>
</classpath>
Comment 3 Philipe Mulet CLA 2003-03-04 05:36:04 EST
If the exclusion filters are denoting folders, they should be suffixed with '/'.
Opening your buildpath wizard should diagnose this.

It should look something like:

<classpathentry excluding="alloy/gui/mac/|doc/|gmp/|SatLab/|bin/"
        kind="src" path=""/>
Comment 4 Philipe Mulet CLA 2003-03-04 05:37:15 EST
Before M5, the Java builder was tolerating not '/' suffixed exclusion filters, 
and as per Ant fileset rules it should not have done so.

Closing