Bug 33696 - Java source exclusion filter stopped working in RC1
Summary: Java source exclusion filter stopped working in RC1
Status: RESOLVED WONTFIX
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 2.1   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 2.1 RC2   Edit
Assignee: JDT-Core-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-03-03 14:59 EST by Jonathan Edwards CLA
Modified: 2003-03-04 05:37 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 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