problem creating lib directory [message #251176] |
Fri, 01 February 2008 06:05  |
Eclipse User |
|
|
|
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  |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.03806 seconds