Bug 207313

Summary: Sourcefolder include pattern doesn't work correct. classfiles are always ignored
Product: [Eclipse Project] JDT Reporter: thr <opensource>
Component: CoreAssignee: JDT-Core-Inbox <jdt-core-inbox>
Status: VERIFIED INVALID QA Contact:
Severity: major    
Priority: P3 CC: jerome_lanneluc, opensource
Version: 3.3   
Target Milestone: 3.4 M3   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description thr CLA 2007-10-24 10:46:03 EDT
If there is a MyTest.class file in the source Folder, which is generated by anoter application. 
There is no way to copy it to the bin folder. The include pattern:  "**/*.class" doesn't work. 
The pattern: "MyTest.class" doesn't work.
The default exclusion is "*.launch".

Project JRE is 1.6.0_02

Eclipse Platform

Version: 3.3.0
Build id: M20070921-1145

(c) Copyright Eclipse contributors and others 2000, 2007.  All rights reserved.
Visit http://www.eclipse.org/platform

This product includes software developed by the
Apache Software Foundation http://www.apache.org/
Comment 1 Jerome Lanneluc CLA 2007-10-30 08:07:19 EDT
.class files in source folders are always ignored. Inclusion/exclusion patterns don't control whether .class files are copies to the output folder.

If you want the .class files to be available at runtime, you should put them in a class folder (see Java Build Path > Libraries > Add Class Folder)
Comment 2 Jerome Lanneluc CLA 2007-10-30 11:11:28 EDT
Verified for 3.4M3 using I20071029-0010