Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » problem creating lib directory
problem creating lib directory [message #251176] Fri, 01 February 2008 06:05 Go to next message
Eclipse UserFriend
Originally posted by: fluca1978.infinito.it

Hi all,
I'm using eclipse 3.3 and I've got a project (managed thru subclipse svn
plugin). Now, when I try to create a new folder lib in the project, the
folder is created but the icon has a red x on it. If I place some jars in
the folder, I cannot see them (even with refresh). It is as the directory
is always empty. If I try to add the jar as library in the build path, then
the lib directory is (correctly) listing my jars, but when I launch eclipse
says that such jar does not exist.

Any idea on how to fix this?

Thanks,
Luca
Re: problem creating lib directory [message #251188 is a reply to message #251176] Fri, 01 February 2008 10:43 Go to previous message
Eclipse UserFriend
Originally posted by: eclipse-news.rizzoweb.com

Luca Ferrari wrote:
> Hi all,
> I'm using eclipse 3.3 and I've got a project (managed thru subclipse svn
> plugin). Now, when I try to create a new folder lib in the project, the
> folder is created but the icon has a red x on it. If I place some jars in
> the folder, I cannot see them (even with refresh). It is as the directory
> is always empty. If I try to add the jar as library in the build path, then
> the lib directory is (correctly) listing my jars, but when I launch eclipse
> says that such jar does not exist.
>
> Any idea on how to fix this?

What is specified as the source location for that project? Is it the
project root, or does it have a separate "source" or "src" directory?

If the source location is the project root, what is happening is that
Eclipse treats all subdirectories as packages, so your lib directory
Eclipse would think is supposed to be a source directory for a package
named "lib."

Hope this helps,
Eric
Previous Topic:I cannot insert statement into the "block" code.
Next Topic:using Eclipse in Jboss env..
Goto Forum:
  


Current Time: Mon Apr 21 02:16:44 EDT 2025

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

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

Back to the top