Missing Contents of WEB-INF directory [message #210497] |
Tue, 18 March 2008 12: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 #210535 is a reply to message #210497] |
Tue, 18 March 2008 18:43 |
Eclipse User |
|
|
|
Originally posted by: kosta.bea.com
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
|
|
|
Re: Missing Contents of WEB-INF directory [message #210549 is a reply to message #210535] |
Tue, 18 March 2008 22:46 |
|
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 #210602 is a reply to message #210535] |
Wed, 19 March 2008 10:07 |
Eclipse User |
|
|
|
Originally posted by: eclipse.codeclass.co.uk
Thanks for your help... unfortunately, these are all xml files - e.g.
faces-config.xml, components.xml, pages.xml and I can't see them anywhere
in the package explorer! They ARE there in the navigator. How is the
package explorer configured (I don't know much about Eclipse
configuration)?
|
|
|
Re: Missing Contents of WEB-INF directory [message #210929 is a reply to message #210602] |
Tue, 25 March 2008 17: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.03685 seconds