Bug 24127 - Select some directories not to be compiled in Package Explorer
Summary: Select some directories not to be compiled in Package Explorer
Status: RESOLVED DUPLICATE of bug 22039
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 2.0.1   Edit
Hardware: PC Linux
: P3 enhancement (vote)
Target Milestone: 2.1 M4   Edit
Assignee: Kent Johnson CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 23298 23992 (view as bug list)
Depends on:
Blocks:
 
Reported: 2002-09-26 08:11 EDT by Ricardo Jorge PC de Almeida CLA
Modified: 2002-11-20 16:55 EST (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ricardo Jorge PC de Almeida CLA 2002-09-26 08:11:37 EDT
I don't know if it is usual practice, but in my current project there are some
directories that are not meant to be compiled, although required to be in the
project. These directories have java files and eclipse finds errors like "The
declared package does not match the expected package".

I suggest that there could be some option to select some of those packages and
select them not to be compiled.
Comment 1 Philipe Mulet CLA 2002-09-26 09:20:59 EDT
We are currently working on this issue, see the newsgroup post on workspace 
structure evolution. 
Comment 2 Philipe Mulet CLA 2002-09-30 06:00:15 EDT
*** Bug 23992 has been marked as a duplicate of this bug. ***
Comment 3 Philipe Mulet CLA 2002-10-15 11:56:33 EDT
*** Bug 23298 has been marked as a duplicate of this bug. ***
Comment 4 Philipe Mulet CLA 2002-10-23 10:51:04 EDT
Implementation is planned to be made available for M4 at last (APIs for M3).
Comment 5 Jim des Rivieres CLA 2002-10-28 17:07:00 EST
Improved API spec for
    IClasspathEntry.getExclusionPatterns  (new for 2.1)
    JavaCore.newSourceEntry(IPath)
    JavaCore.newSourceEntry(IPath,IPath[])  (new for 2.1)
    IPackageFragmentRoot.getNonJavaResources
    IPackageFragment.getNonJavaResources
    IJavaProject.getNonJavaResources
Comment 6 Philipe Mulet CLA 2002-10-30 17:04:51 EST
JavaModel support got added. Builder is not yet there.
Comment 7 Philipe Mulet CLA 2002-11-14 17:32:14 EST
Tag as fixed once we have testcases proving it works.
Comment 8 Philipe Mulet CLA 2002-11-20 16:55:23 EST
Actually, this is a duplicate.

*** This bug has been marked as a duplicate of 22039 ***