Bug 207313 - Sourcefolder include pattern doesn't work correct. classfiles are always ignored
Summary: Sourcefolder include pattern doesn't work correct. classfiles are always ignored
Status: VERIFIED INVALID
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.3   Edit
Hardware: PC Windows XP
: P3 major (vote)
Target Milestone: 3.4 M3   Edit
Assignee: JDT-Core-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-24 10:46 EDT by thr CLA
Modified: 2007-10-30 11:11 EDT (History)
2 users (show)

See Also:


Attachments

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