ICEfaces
  1. ICEfaces
  2. ICE-7810

impossible add Icefaces 3 facet in Eclipse 3.7?

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 3.0
    • Fix Version/s: None
    • Component/s: Tool Integrations
    • Labels:
      None
    • Environment:
      Windows 7, eclipse indigo, icefaces plugin 3.0.0
    • Workaround Exists:
      Yes
    • Workaround Description:
      Hide
      I have resolved this problem. When You need to add Dynamic Web Module facet you must set Content directory: /src/main/webapp/. I think that the problem is related with structure project when it has a WebContent folder.

      In this way the project preserver standard maven structure y then you could add JSF2 and Icefaces3 facet without problem.

      Now, You can create *.xhtml file and autocomplete Icefaces,JSF2 and facelets tags.
      Show
      I have resolved this problem. When You need to add Dynamic Web Module facet you must set Content directory: /src/main/webapp/. I think that the problem is related with structure project when it has a WebContent folder. In this way the project preserver standard maven structure y then you could add JSF2 and Icefaces3 facet without problem. Now, You can create *.xhtml file and autocomplete Icefaces,JSF2 and facelets tags.

      Description

      I am trying add Icefaces 3 facet but it is not work correctly, I have created a maven project (WTP=2.0) by maven command, the I have add JSF2,Java 1.6 and Javascript by Eclipse project facet, but when I try to add ICefaces 3 facet then Eclipse not working.

      I add .XHTML extension in JSP editor and it work fine if I create a ICefaces project.

      this a image: http://www.flickr.com/photos/75492946@N02/6785053594/

      In the image above, I press OK button and nothing happens, Icefaces 3 faces doesn´t add and the message "further configuratition requiered" is still.

      Otherwise, I download M2Eclipse and I have created a maven project, I followed the same steps above, and everything is fine until I try to add ICefaces 3 facet, with the same result for me.

      I can write tag ui autocomplete bacause JSF2 nature add correctly, but I dont write autocomplete tags ace/ice

      Finally, I could create a Icefaces project but this is not desired by me, because I need a Maven project within Icefaces 3 nature.

        Activity

        Hide
        Rafael Doble added a comment -

        I just realized that the real conflict is the web.xml, it must be version=3.0, only in this way you can do the above steps.

        ICefaces 3 releases note say: [This release includes the Mojarra JSF 2.1.4 runtime libraries. Mojarra 2.1.4 introduces a hard depedency on Servlet 3.0 APIs, as a result, it cannot be used on older JEE5 application servers. Mojarra 2.1.3, or Apache MyFaces 2.1.6 should be used in on older JEE5 servers instead.

        In my case I use Mojarra 2.1.3 and the web.mxl is version=2.5, but it conflict because ICefaces 3 eclipse facet somehow related Mojarra 2.1.4 and web.xml version=3.0

        The final solution addition to the above is to user web.xml version=3.0 and libraries provided by Icefaces3 plugin. If I want to use Mojarra 2.1.3 and web.xml version=2.5, what is the solution?

        Show
        Rafael Doble added a comment - I just realized that the real conflict is the web.xml, it must be version=3.0, only in this way you can do the above steps. ICefaces 3 releases note say: [This release includes the Mojarra JSF 2.1.4 runtime libraries. Mojarra 2.1.4 introduces a hard depedency on Servlet 3.0 APIs, as a result, it cannot be used on older JEE5 application servers. Mojarra 2.1.3, or Apache MyFaces 2.1.6 should be used in on older JEE5 servers instead. In my case I use Mojarra 2.1.3 and the web.mxl is version=2.5, but it conflict because ICefaces 3 eclipse facet somehow related Mojarra 2.1.4 and web.xml version=3.0 The final solution addition to the above is to user web.xml version=3.0 and libraries provided by Icefaces3 plugin. If I want to use Mojarra 2.1.3 and web.xml version=2.5, what is the solution?

          People

          • Assignee:
            Unassigned
            Reporter:
            Rafael Doble
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated: