|Missing Contents of WEB-INF directory [message #210497]
||Tue, 18 March 2008 12:17
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
|Re: Missing Contents of WEB-INF directory [message #210549 is a reply to message #210535]
||Tue, 18 March 2008 22:46
| Russell Bateman
Registered: July 2009
Location: Provo, Utah, USA
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?
Powered by FUDForum
. Page generated in 0.03505 seconds