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

        Liming Wu created issue -
        Liming Wu made changes -
        Field Original Value New Value
        Assignee Liming Wu [ liming.wu ]
        Liming Wu made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s 2.0-Alpha3 [ 10032 ]
        Resolution Fixed [ 1 ]
        Ken Fyten made changes -
        Fix Version/s 2.0.0 [ 10230 ]
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved: