[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.webtools] Re: JSF and Eclipse aren't the best of mates

Cameron Bateman wrote:
Hi Russ,


project, choosing Preferences, then Java Build Path->Libraries. There

Please see the JSF tutorial at http://www.eclipse.org/webtools/jsf/docs/tutorial/JSFTools_1_0_tutorial.html. It needs to be updated for some minor UI changes, but demonstrates how to create a JSF library. If you add the library to an existing project, also ensure that you right-click on the project properties, go to J2EE Module Dependencies and ensure the libraries are checked for deployment. (Note the property dialog is called Java EE Module Dependencies if you are working with a newer version).


Could someone explain why Eclipse doesn't help me put together a JSF project (when NetBeans makes it PERFECTLY transparent and a no-brainer) and, therefore, how a JSF project is built in Eclipse.

We do provide help in the New Dynamic Web Project if you select our facet. Our facet install page lets you customize what runtime, additional jars and some basic web.xml configurations will be used. This is also shown in the tutorial.


I have read and attempted a couple of on-line tutorials on JSF and Eclipse. They don't work and break down part-way through the exercise.

Can you point me to these tutorials so I can try and get them corrected?


Regards,

Cameron

Cameron,

I've gotten back to this tutorial.

Here's what I've got with bright, red errors:

http://www.windofkeltia.com/j2ee/tut-images/jsf-tutorial-burn1.jpg



The libraries I suspect have something to do with all of this:
   http://www.windofkeltia.com/j2ee/tut-images/jsf-tutorial-burn-sun-ri.jpg



Now, mind you, I see "missing" written all over this last image, but I swear to you that I just now redid SUN-RI and JSTL with JARs that very much do exist in a subfolder I created in my workspace (and, the old places I had gotten them from existed and still exist too, yet I rebuilt them precisely because Eclipse said, "missing"). Clearly, Eclipse is doing something after I create the libraries to render them invalid. If I'm supposed to put them somewhere special, let the tutorial or Eclipse (or both of them) plainly state that.

Does this show you what's going on? What I've done wrong?

Russ