ICEfaces
  1. ICEfaces
  2. ICE-1739

sample applications do not have jsf 1.2 build targets

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.6DR#5
    • Fix Version/s: 1.6DR#6, 1.6
    • Component/s: Sample Apps
    • Labels:
      None
    • Environment:
      ICEfaces
    • Affects:
      Documentation (User Guide, Ref. Guide, etc.), Sample App./Tutorial

      Description


      The sample applications do not have build targets for JSF 1.2 or glassfish.

        Activity

        Hide
        Ted Goddard added a comment -

        The checkin makes the common sample application builds based on the following flags:

        ant -Dmyfaces=""

        • include myfaces-api.jar and myfaces-impl.jar rather than jsf-api.jar and jsf-impl.jar

        ant -Djsf12=""

        • do not include .jar files that conflict with JSF 1.2. Note that this should be enhanced to actually include the JSF 1.2 libraries, but we are not currently bundling those.

        ant -Dglassfish=""

        • do not include any jsf libraries. Typically this would be combined with -Djsf12="" because glassfish is a JSF 1.2 system.
        Show
        Ted Goddard added a comment - The checkin makes the common sample application builds based on the following flags: ant -Dmyfaces="" include myfaces-api.jar and myfaces-impl.jar rather than jsf-api.jar and jsf-impl.jar ant -Djsf12="" do not include .jar files that conflict with JSF 1.2. Note that this should be enhanced to actually include the JSF 1.2 libraries, but we are not currently bundling those. ant -Dglassfish="" do not include any jsf libraries. Typically this would be combined with -Djsf12="" because glassfish is a JSF 1.2 system.
        Hide
        Ted Goddard added a comment -

        ant -Dmyfaces=""

        • include myfaces-api.jar and myfaces-impl.jar rather than jsf-api.jar and jsf-impl.jar

        ant -Djsf12=""

        • do not include .jar files that conflict with JSF 1.2. Note that this should be enhanced to actually include the JSF 1.2 libraries, but we are not currently bundling those.

        ant -Dserverjsf=""

        • do not include any jsf libraries.

        To build sample .wars for glassfish, for example, use

        ant -Djsf12="" -Dserverjsf=""

        Show
        Ted Goddard added a comment - ant -Dmyfaces="" include myfaces-api.jar and myfaces-impl.jar rather than jsf-api.jar and jsf-impl.jar ant -Djsf12="" do not include .jar files that conflict with JSF 1.2. Note that this should be enhanced to actually include the JSF 1.2 libraries, but we are not currently bundling those. ant -Dserverjsf="" do not include any jsf libraries. To build sample .wars for glassfish, for example, use ant -Djsf12="" -Dserverjsf=""
        Hide
        Ted Goddard added a comment -

        The following exception occurs when attempting to run an ICEfaces application with JSF 1.2, but with icefaces.jar built using JDK 1.4. Re-build icefaces.jar using JDK 1.5 or higher.

        Caused by: java.lang.IllegalArgumentException: Cannot invoke com.sun.faces.taglib.jsf_core.LoadBundleTag.setBasename - argument type mismatch
        at org.apache.commons.digester.Digester.createSAXException(Digester.java:2540)
        at org.apache.commons.digester.Digester.createSAXException(Digester.java:2566)

        Show
        Ted Goddard added a comment - The following exception occurs when attempting to run an ICEfaces application with JSF 1.2, but with icefaces.jar built using JDK 1.4. Re-build icefaces.jar using JDK 1.5 or higher. Caused by: java.lang.IllegalArgumentException: Cannot invoke com.sun.faces.taglib.jsf_core.LoadBundleTag.setBasename - argument type mismatch at org.apache.commons.digester.Digester.createSAXException(Digester.java:2540) at org.apache.commons.digester.Digester.createSAXException(Digester.java:2566)

          People

          • Assignee:
            Unassigned
            Reporter:
            Ted Goddard
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: