Missing Contents of WEB-INF directory [message #210497] |
Tue, 18 March 2008 08:17  |
Eclipse User |
|
|
|
Originally posted by: eclipse.codeclass.co.uk
I've been developing on an Eclipse WTP project for a short while. I'm
using the JBoss Seam/Tools plugins but I believe this to be a WTP issue.
The contents of my WEB-INF directory don't appear in the project explorer.
They are there on the file system and appear in the navigator. Also,
they are picked up when I build the project.
Can anyone speculate what might have caused this, and suggest a possible
fix/hack?
Many thanks.
|
|
|
|
Re: Missing Contents of WEB-INF directory [message #210549 is a reply to message #210535] |
Tue, 18 March 2008 18:46   |
Eclipse User |
|
|
|
Konstantin Komissarchik wrote:
> Actually this is a JDT feature (or mis-feature, depending on your
> perspective). Any jar or folder that's on the classpath will not appear
> at its original location when looking at the Package Explorer or the
> Project Explorer views. Instead, it will appear in one of the various
> classpath nodes added by JDT to these views. So look for you jars under
> the node called "Web App Libraries".
>
> - Konstantin
So, while we're on this topic, my friend, tell me if I'm doing wrong.
I'm running Eclipse 3.3.2.
Pursuant to advice I'm getting from several tutorials, I try to delete
the classes subdirectory under my Dynamic Web Project and, using Build
Paths..., attempt to redirect the class file resulting from my servlet
source (.java) to fall under WebContent/WEB-INF/classes.
Now, mind you, when I look in the filesystem (I'm running Windows in
this case though I usually develop under Linux), I do indeed see my
class file down under
WEB-INF/classes/org/example/ch03/HelloServlet.class. However, in the
Package Explorer pane, I do not see a classes subdirectory under WEB-INF.
I'm assuming this is okay, but why would it be so?
Thanks,
Russ Bateman
|
|
|
|
|
Re: Missing Contents of WEB-INF directory [message #210929 is a reply to message #210602] |
Tue, 25 March 2008 13:17  |
Eclipse User |
|
|
|
Originally posted by: eclipse.codeclass.co.uk
Anyone, please? My XML files (e.g. faces-config.xml) in WEB-INF no longer
appear in the Package Explorer. If someone could give me some pointers as
to how Eclipse determines what resources appear in the Package Explorer, I
would be most grateful.
|
|
|
Powered by
FUDForum. Page generated in 0.06463 seconds