Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » Hiding libraries contained in the project from Package Explorer
Hiding libraries contained in the project from Package Explorer [message #183996] Mon, 01 November 2004 15:37 Go to next message
Eclipse UserFriend
Hello all,

I don't like the way Package Explorer displays libraries used in the
project. When there are many libraries used in the project (and
contained in the project) they take a lot of imho unnecessary space. For
example my current project is displayed like:

- project_name
|-+ JavaSource
|-+ JRE System Library [sun1.4.2]
|-+ axis.jar
|-+ axis-ant.jar
|-+ commons-beanutils-1.6.1.jar
|-+ commons-collections-2-1.jar
|-+ commons-discovery.jar
|-+ commons-land-2.0.jar
|-+ commons-logging.jar
|-+ jaxrpc.jar
|-+ log4j.jar
|-+ saaj.jar
|-+ wsdl4j.jar
|-+ j2ee1.3-src.jar - C:\java\libs
|-+ WebContent
|-+ build

In this list I almost always use WebContent and JavaSource folders and
the rest makes only crowd.

I tried to:

* use filters and check "referenced libraries" but that option only
hides "JRE System Library" and j2ee1.3-src.jar,

* add a filter pattern like "*.jar" but it completely hides jars, so, on
occasion if I need to see a class or package from Package Explorer I
have to clear pattern,

I can compile all the libraries contained in the project as a single
*superjar* but do I have to do it for each project?

I forgot to tell what I want to see :-) I think libraries, "referenced"
or "contained in the project", as whole should be grouped as a folder in
the tree.

Perhaps I'm missing something.. Can anyone help?

Btw, I'm using Eclipse 3.0.1.

Best regards,
/tb.
Re: Hiding libraries contained in the project from Package Explorer [message #184012 is a reply to message #183996] Mon, 01 November 2004 16:40 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: eclipse.rizzoweb.com

Tuncay Baskan wrote:
> Hello all,
>
> I don't like the way Package Explorer displays libraries used in the
> project. When there are many libraries used in the project (and
> contained in the project) they take a lot of imho unnecessary space. For
> example my current project is displayed like:
>
> - project_name
> |-+ JavaSource
> |-+ JRE System Library [sun1.4.2]
> |-+ axis.jar
> |-+ axis-ant.jar
> |-+ commons-beanutils-1.6.1.jar
> |-+ commons-collections-2-1.jar
> |-+ commons-discovery.jar
> |-+ commons-land-2.0.jar
> |-+ commons-logging.jar
> |-+ jaxrpc.jar
> |-+ log4j.jar
> |-+ saaj.jar
> |-+ wsdl4j.jar
> |-+ j2ee1.3-src.jar - C:\java\libs
> |-+ WebContent
> |-+ build
>
> In this list I almost always use WebContent and JavaSource folders and
> the rest makes only crowd.

On option is to use the Java Browsing perspective. It's Projects,
Packages, Types, and Members views are a nice alternative to Package
Explorer, and with Working Sets it does not have this problem.

HTH,
Eric
Re: Hiding libraries contained in the project from Package Explorer [message #184024 is a reply to message #184012] Mon, 01 November 2004 17:12 Go to previous messageGo to next message
Eclipse UserFriend
Eric Rizzo wrote:
> Tuncay Baskan wrote:
>
>> Hello all,
>>
>> I don't like the way Package Explorer displays libraries used in the
>> project. When there are many libraries used in the project (and
>> contained in the project) they take a lot of imho unnecessary space.
>> For example my current project is displayed like:
>>
....
>>
>> In this list I almost always use WebContent and JavaSource folders and
>> the rest makes only crowd.
>
>
> On option is to use the Java Browsing perspective. It's Projects,
> Packages, Types, and Members views are a nice alternative to Package
> Explorer, and with Working Sets it does not have this problem.
>
> HTH,
> Eric

Hi Eric,

Thank you for quick response. I haven't used to use that perspective. I
gave it a shot again.. didn't like its view positions. Yes, I can manage
the layout as I like but...

Anyway, I think I'll try to find a way or request it as a feature..
Obsessive people like me would like the feature I guess. :-)

Thanks again.

Best regards,
/tb.
Re: Hiding libraries contained in the project from Package Explorer [message #184481 is a reply to message #183996] Fri, 05 November 2004 09:20 Go to previous message
Eclipse UserFriend
Originally posted by: daniel.megert.gmx.net

Tuncay Baskan wrote:

> Hello all,
>
> I don't like the way Package Explorer displays libraries used in the
> project. When there are many libraries used in the project (and
> contained in the project) they take a lot of imho unnecessary space.

Try the "Referenced libraries" filter (via Package Explorer's Filters...
view menu).

Dani

> For example my current project is displayed like:
>
> - project_name
> |-+ JavaSource
> |-+ JRE System Library [sun1.4.2]
> |-+ axis.jar
> |-+ axis-ant.jar
> |-+ commons-beanutils-1.6.1.jar
> |-+ commons-collections-2-1.jar
> |-+ commons-discovery.jar
> |-+ commons-land-2.0.jar
> |-+ commons-logging.jar
> |-+ jaxrpc.jar
> |-+ log4j.jar
> |-+ saaj.jar
> |-+ wsdl4j.jar
> |-+ j2ee1.3-src.jar - C:\java\libs
> |-+ WebContent
> |-+ build
>
> In this list I almost always use WebContent and JavaSource folders and
> the rest makes only crowd.
>
> I tried to:
>
> * use filters and check "referenced libraries" but that option only
> hides "JRE System Library" and j2ee1.3-src.jar,
>
> * add a filter pattern like "*.jar" but it completely hides jars, so,
> on occasion if I need to see a class or package from Package Explorer
> I have to clear pattern,
>
> I can compile all the libraries contained in the project as a single
> *superjar* but do I have to do it for each project?
>
> I forgot to tell what I want to see :-) I think libraries,
> "referenced" or "contained in the project", as whole should be grouped
> as a folder in the tree.
>
> Perhaps I'm missing something.. Can anyone help?
>
> Btw, I'm using Eclipse 3.0.1.
>
> Best regards,
> /tb.
>
Previous Topic:Type Filters, Organize Imports
Next Topic:Getting access to org.eclipse.jdt.testplugin
Goto Forum:
  


Current Time: Sat Jul 19 05:22:07 EDT 2025

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

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

Back to the top