ICEfaces
  1. ICEfaces
  2. ICE-5856

wrong way detecting embedded JSF RI version

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0-Alpha3
    • Fix Version/s: 2.0-Alpha3, 2.0.0
    • Component/s: Tool Integrations
    • Labels:
      None
    • Environment:
      NEtbeans 6.8/6.9

      Description

      Currently if ICEfaces has been added into a project. When you bring up add web framework dialog it shows only jsf has been added into the project and without ICEfaces, which causes ICEfaces can be added again and in some cases Wrong version of RI jar files are added.

      The problem is actually from the logic of detecting marker classes existence. Previously marker classes are
      JSF 1.1: javax.faces.FacesException
      JSF 1.2: javax.faces.application.StateManagerWrapper
      JSF 2.0 javax.faces.application.ProjectStage

      Now I introduced inclusive and exclusive rules to detect:
      JSF 1.1:
       inclusive: javax.faces.FacesException
       exclusive: javax.faces.application.StateManagerWrapper
        
      JSF 1.2
      inclusive: javax.faces.application.StateManagerWrapper
      exclusive: javax.faces.application.ProjectStage

      JSF2.0
      inclusive: javax.faces.application.ProjectStage

        Activity

        Hide
        Liming Wu added a comment -

        Fix is available in the release for netbeans 6.9 final after the release for netbeans rc1

        Show
        Liming Wu added a comment - Fix is available in the release for netbeans 6.9 final after the release for netbeans rc1

          People

          • Assignee:
            Liming Wu
            Reporter:
            Liming Wu
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: