Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 75105 - Included packages are invisible
Summary: Included packages are invisible
Status: RESOLVED DUPLICATE of bug 65240
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: JDT-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-27 13:08 EDT by Stephan Zehrer CLA
Modified: 2004-10-11 05:32 EDT (History)
0 users

See Also:


Attachments
simple java project (2.15 KB, application/x-zip)
2004-09-28 12:42 EDT, Stephan Zehrer CLA
no flags Details
A screenshot of the package explorer (54.56 KB, image/jpeg)
2004-10-08 12:56 EDT, Stephan Zehrer CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Stephan Zehrer CLA 2004-09-27 13:08:36 EDT
The source inclusion functionality in "Java Build Path" produce problems. Is a
inclusion pattern set for the project, the package explorer hide this parts of
the  package tree (as the exclusion function does).
(Version 3.0.1 is affected too).
Comment 1 Kent Johnson CLA 2004-09-27 17:03:07 EDT
Please provide a test project which shows the problem.
Comment 2 Stephan Zehrer CLA 2004-09-28 12:42:22 EDT
Created attachment 14843 [details]
simple java project

This sample project includes the class A in the package net.zehrer.a and as you
can (hopefully) see only the package net.zehrer.b is visible in the package
explorer.
Comment 3 Kent Johnson CLA 2004-10-06 16:53:20 EDT
Actually its the other way around for me.

Only the included type & its package net.zehrer.a is visible.

net.zehrer.b shows up as a generic folder.

Is there some reason you want to include a specific source file even though it 
would be included by default?
Comment 4 Stephan Zehrer CLA 2004-10-08 12:56:46 EDT
Created attachment 15070 [details]
A screenshot of the package explorer

The attached project looks like this screenshot in my eclipse version. (new
clean 3.0.1). Still package a is included but not visible.
As requested this is only a test project to show the bug.

In reality i like to use the include function in some projects because it is
not allways simpler to include all and exclude some part. In some cases it is
simpler only to include some parts.
Comment 5 Stephan Zehrer CLA 2004-10-08 13:08:46 EDT
I see a small mistake, not the package, the only the class a is included.
But it does not matter whatever what you are include into the project it is not
visible (same behavior if you include the package a instead of the class a).

What i don't like is to have all packages include.

Does this mean you can't verify this problem?
Comment 6 Stephan Zehrer CLA 2004-10-09 16:24:10 EDT
I found another point, the problem occure only if you are in the "Hierarchical"
Layout of the Package Explorer (my standard setting). In the "Flat" Layout it
looks like your description. 
Comment 7 Jerome Lanneluc CLA 2004-10-11 05:22:00 EDT
Looks like a dup of bug 65240.

Moving to JDT UI for comments.
Comment 8 Dirk Baeumer CLA 2004-10-11 05:32:50 EDT
Indeed a dub of bug 65240.

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