Bug 37503 - Compiler does not take care of exclusion filter
Summary: Compiler does not take care of exclusion filter
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 2.1   Edit
Hardware: PC Windows NT
: P3 normal (vote)
Target Milestone: 3.0 M1   Edit
Assignee: Kent Johnson CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-05-12 12:20 EDT by Rene Brandenburger CLA
Modified: 2003-06-06 07:30 EDT (History)
0 users

See Also:


Attachments
Simple Testcase to show the behaviour (1.92 KB, application/octet-stream)
2003-05-13 03:37 EDT, Rene Brandenburger CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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.