Bug 37503

Summary: Compiler does not take care of exclusion filter
Product: [Eclipse Project] JDT Reporter: Rene Brandenburger <rene.brandenburger>
Component: CoreAssignee: Kent Johnson <kent_johnson>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 2.1   
Target Milestone: 3.0 M1   
Hardware: PC   
OS: Windows NT   
Whiteboard:
Attachments:
Description Flags
Simple Testcase to show the behaviour none

Description Rene Brandenburger CLA 2003-05-12 12:20:24 EDT
I have the following problem working on a large j2ee project with the following
project layout

-- several EJB's reside in the same java package
-- metainformation (ejb-jar.xml, ...) is kept in subfolders with the EJB's name

using the Exclusion filter, i filter out the subfolders with the
metainformation, they correctly don't show up in the package explorer, but the
compiler still emits the error XY resolves to a package.

Unfortunately, we are not able to move to another project layout.

Using Eclipse 2.1.1 Build id: 200305071103 on Windows NT 4 with JDK 1.3.1 from Sun
Comment 1 Philipe Mulet CLA 2003-05-12 12:45:05 EDT
Can you provide a simple testcase ?
Comment 2 Rene Brandenburger CLA 2003-05-13 03:37:46 EDT
Created attachment 4858 [details]
Simple Testcase to show the behaviour

Simple Testproject to show the behaviour including .classpath and .project
if additional information is needed, please let me know
Comment 3 Kent Johnson CLA 2003-05-13 15:13:27 EDT
The problem was the source folder is also the output folder and while looking 
for packages, we did not check with the exclusion patterns.

As a workaround for now, try putting your .class files in a separate bin folder.
Comment 4 David Audel CLA 2003-06-06 07:30:28 EDT
Verified.