Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » "Fold empty packages" doesn't work with CVS enabled?
"Fold empty packages" doesn't work with CVS enabled? [message #179553] Mon, 27 September 2004 15:19 Go to next message
Eclipse UserFriend
Originally posted by: ericyilin.yahoo.com

The "Fold empty packages in hierarchical Package Explorer layout"
option under Preferences->Java->Appearance doesn't seem to work for
projects under CVS control. Is this due to the CVS/ directories inside
the "empty" packages? If so, how do I make the Package Explorer ignore
CVS/ directories and treat packages containing only CVS/ and other
package directories as empty packages?

I am using Eclipse 3.0 on Mac OS 10.3.5.

Thanks,
Eric
Re: "Fold empty packages" doesn't work with CVS enabled? [message #179601 is a reply to message #179553] Mon, 27 September 2004 18:04 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: eclipse.rizzoweb.com

eric wrote:

> The "Fold empty packages in hierarchical Package Explorer layout" option
> under Preferences->Java->Appearance doesn't seem to work for projects
> under CVS control. Is this due to the CVS/ directories inside the
> "empty" packages? If so, how do I make the Package Explorer ignore CVS/
> directories and treat packages containing only CVS/ and other package
> directories as empty packages?
>
> I am using Eclipse 3.0 on Mac OS 10.3.5.
>
> Thanks,
> Eric

One option open to you is to use the Java Browsing perspective instead
of the Java perspective (and Package Explorer). I find JB to be
superior, especially in the way it presents packages, types, and members
in separate panels/views.

HTH,
Eric
Re: "Fold empty packages" doesn't work with CVS enabled? [message #179663 is a reply to message #179601] Tue, 28 September 2004 00:38 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: ericyilin.yahoo.com

On 2004-09-28 02:04:21 +0800, Eric Rizzo <eclipse@rizzoweb.com> said:

> One option open to you is to use the Java Browsing perspective instead
> of the Java perspective (and Package Explorer). I find JB to be
> superior, especially in the way it presents packages, types, and
> members in separate panels/views.

But Java Browsing perspective still does not fold empty parent folders
the way I expected. All I want is for the package com.domain.app to
display as one entry: "com.domain.app" rather than:

+ com
+ domain
+ app

Agreed, JB -- as much as I despise it -- does seem to be superior at
this. But i'm sure Eclipse would catch up soon.

TIA,
Eric
Re: "Fold empty packages" doesn't work with CVS enabled? [message #179739 is a reply to message #179553] Tue, 28 September 2004 10:07 Go to previous messageGo to next message
Markus KellerFriend
Messages: 294
Registered: July 2009
Senior Member
eric wrote:

> The "Fold empty packages in hierarchical Package Explorer layout" option
> under Preferences->Java->Appearance doesn't seem to work for projects
> under CVS control. Is this due to the CVS/ directories inside the
> "empty" packages? If so, how do I make the Package Explorer ignore CVS/
> directories and treat packages containing only CVS/ and other package
> directories as empty packages?
>
> I am using Eclipse 3.0 on Mac OS 10.3.5.

That option only collapses empty parent packages when the Package Explorer
is in hierarchical layout (see PE's view menu, the black arrow in the view's
toolbar).

You should not see CVS folders in the Package Explorer - if you do, try
checking out the project afresh.

To filter empty (parent) packages, enable the two corresponding filters in
the Package Explorer (view menu > Filters...).

Cheers,
Markus
Re: "Fold empty packages" doesn't work with CVS enabled? [message #179789 is a reply to message #179739] Tue, 28 September 2004 11:50 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: ericyilin.yahoo.com

> That option only collapses empty parent packages when the Package
> Explorer is in hierarchical layout (see PE's view menu, the black arrow
> in the view's toolbar).
>
> You should not see CVS folders in the Package Explorer - if you do, try
> checking out the project afresh.
>
> To filter empty (parent) packages, enable the two corresponding filters
> in the Package Explorer (view menu > Filters...).
>
> Cheers,
> Markus

Thanks for the response. However I figured out what the problem was.
Mac OS X leaves hidden resource files in folders called .DS_Store,
which Eclipse doesn't ignore like it does CVS. Once I weed out the
..DS_Store files, package name folding works as it should.

Maybe I should submit a bug report for this... Eclipse should, by
default, ignore .DS_Store (as well as other resource files) that Mac OS
X store inside folders.

Best,
ERic
Re: "Fold empty packages" doesn't work with CVS enabled? [message #179830 is a reply to message #179663] Tue, 28 September 2004 14:19 Go to previous message
Eclipse UserFriend
Originally posted by: eclipse.rizzoweb.com

eric wrote:

> On 2004-09-28 02:04:21 +0800, Eric Rizzo <eclipse@rizzoweb.com> said:
>
>> One option open to you is to use the Java Browsing perspective instead
>> of the Java perspective (and Package Explorer). I find JB to be
>> superior, especially in the way it presents packages, types, and
>> members in separate panels/views.
>
>
> But Java Browsing perspective still does not fold empty parent folders
> the way I expected. All I want is for the package com.domain.app to
> display as one entry: "com.domain.app" rather than:
>
> + com
> + domain
> + app

You can switch Java Browsing (Packages view) to a flat layout instead of
a hierarchal layout - that should give what you want (it's the way I
prefer it, too).


> Agreed, JB -- as much as I despise it -- does seem to be superior at
> this. But i'm sure Eclipse would catch up soon.

Heh - by "JB" I meant Java Browsing, not JBuilder. After I saw the
message posted I was afraid someone might mis-interpret it. I never
found anything about JBlunder that I liked, certainly not the way it
presents code organization.

Eric
Previous Topic:Keystore error after assigning source to jar in Eclipse
Next Topic:Newbie question
Goto Forum:
  


Current Time: Tue Apr 23 10:20:56 GMT 2024

Powered by FUDForum. Page generated in 0.03736 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top