facebook

[Closed] Problem editing faces-config

  1. MyEclipse IDE
  2.  > 
  3. Java EE Development (EJB, JSP, Struts, XDoclet, etc.)
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #251545 Reply

    paulspencer
    Member

    (MyEclipse version 4.1.1 GA, Eclipse 3.1.1, Windows XP SP2)

    I have a web project that used MyFaces version 1.1.3. Maven 2.0.4 is used to build an package the project. It is also used to generate the eclipse project files, mvn eclipse:eclipse. The resulting eclipse project file do not include the stuff needed for by ME’s JSF editor. When I try to edit faces-config.xml the error “Project ‘foo’ is not configured as a MyEclipse Web-JSF Project.” Adding “Web Capabilities” to the project displays and closes “Operation in progress” window when clicking “Finish”, but never closed he “MyEclipse Web Capabilities” window.

    Any suggestion or ideas on how I can get the JSF editor to work.

    Paul Spencer

    #251551 Reply

    Riyad Kalla
    Member

    Paul,
    Can you check your log file for an exception that may shed some light on why the wizard died (<workspace dir>\.metadata\.log)

    #251591 Reply

    paulspencer
    Member

    Riyad,
    You where correct, the log file contained the error “Could not set the project description for centerline-webapp because the project description file (.project) is out of sync with the file system.”. I refreshed the project and was able to add “Web Capabilities”.

    After clicking through some warning messages because faces-config.xml already existed and web.xml already contained the jsf configuration, the JSF editor appears to be working. Hopefully ME v5.0 will be make it easier to use a project that already contains JSF configuration.

    You may mark this as “closed”

    Thank you,
    Paul Spencer

    #251613 Reply

    Riyad Kalla
    Member

    Paul,
    I’m glad it’s working now, we agree that the flow of the wizards for already enabled projects is clunky at best right now, we’ll try and streamline that.

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: [Closed] Problem editing faces-config

You must be logged in to post in the forum log in