|Re: JSF app no longer deploys class files [message #616491]
||Mon, 04 February 2008 17:02
| Eric Rizzo
Registered: July 2009
This question is more likely to get help on the webtools and/or JSF |
newsgroups. I've copied them to this response.
David Karr wrote:
> I seem to have gotten my JSF app in a state where it will no longer
> deploy the class files that I've written into the WAR file, either on
> export or on automatic deploy to Tomcat.
> I had created a dynamic web app with the JSF project facet. It was
> basically working, except I was having some specific issues with my JSP
> page and its interaction with JSF. I wanted to attach the JSF RI source
> (I'm using the Sun 1.2 RI). For some reason that I can't explain,
> Eclipse won't let me attach the source for this. Whenever I stored the
> path and then clicked OK on the project preferences, I still couldn't
> see the source files, and going back into the project properties shows
> that the source dir setting was gone.
> Anyway, I'm annoyed with that, but that's not even my current problem.
> I decided since I would try to remove the JSF project facet and just add
> the JSF RI jars as an ordinary library. This produced one bizarre
> side-effect. It seemed to remove my source tree from the "Sources"
> property settings. I readded it by editing the .classpath file
> directly, adding the following line (looking at other projects for this):
> <classpathentry kind="src" path="src"/>
> I thought this fixed my source files situation for the moment.
> Unfortunately, I then discovered that now JSP pages didn't know about my
> JSF tag libraries. So, I decided it really needs to have it as a
> project facet, so I backtracked on that, removing it as a regular
> library, then re-adding it as a project facet.
> Unfortunately, it seems like this didn't even help. Even worse, I
> discovered that when I deploy the app, it doesn't put my compiled class
> files into WEB-INF/classes.
> Am I going to have to completely rebuild this application, or is there a
> way to do surgery on my .classpath file (or other files) to restore
> normal functionality?
> I wouldn't mind solving my "original" problem, which is being able to
> set the source files path for the JSF implementation.
Powered by FUDForum
. Page generated in 0.01927 seconds