ICEfaces
  1. ICEfaces
  2. ICE-5336

Sequential creation of new projects in NetBeans 6.8 can result in incorrect JEE version being set.

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 1.8.2, 2.0-Alpha2
    • Fix Version/s: 2.0-Alpha3, 2.0.0
    • Component/s: Tool Integrations
    • Labels:
      None
    • Environment:
      Netbeans 6.8

      Description

      While testing new netbeans 6.8 integration, one issue was discovered that netbeans' passes wrong java ee level and serverid chosen in previous project if second project is created right after first project is created.

      This is serous problem to icefaces integration as all to-be-selected libraries and GUI options are based on java ee level passed from netbeans.

      This issue is confirmed by creating a simple WebModuleExtender. This looks like a timing issue in netbeans.

      Netbeans' JSF framework seems to try to work around this issue by passing swing event back/forth so that selecting JSF framework in wizard is very non-responsive.

        Activity

        Hide
        Liming Wu added a comment -

        To demostrate this issue, I create a very simple webmoduleextender called dummy web framwork module as nbm. Install it and try to create a couple of web project with dummy framework selected. For each project, you may try to switch between glassfish 3/JavaEE 6 and tomcat 6, and also check log to see if dumped log such as ***** update() j2eeLevel = 1.6 or 1.5 maches you selected in project wizard. You will understand what is this issue is about.

        Correct j2eeLevel/serverID are import for this release because we ships icefaces 1.8.2 (JSF 1.1/1.2 JavaEE5/1.4) and icefaces 2.0-alpha2 (on JSF 2.0/JavaEE6) with it and this integration is intended to support both of them.

        Show
        Liming Wu added a comment - To demostrate this issue, I create a very simple webmoduleextender called dummy web framwork module as nbm. Install it and try to create a couple of web project with dummy framework selected. For each project, you may try to switch between glassfish 3/JavaEE 6 and tomcat 6, and also check log to see if dumped log such as ***** update() j2eeLevel = 1.6 or 1.5 maches you selected in project wizard. You will understand what is this issue is about. Correct j2eeLevel/serverID are import for this release because we ships icefaces 1.8.2 (JSF 1.1/1.2 JavaEE5/1.4) and icefaces 2.0-alpha2 (on JSF 2.0/JavaEE6) with it and this integration is intended to support both of them.
        Hide
        Liming Wu added a comment -

        Attached Dummy netbeans module for testing only

        Show
        Liming Wu added a comment - Attached Dummy netbeans module for testing only
        Hide
        Liming Wu added a comment -

        This has never been problem with Sun as JSF 2.0 can run on either jee5 or 6 enviornment. It is claimed to be backwords compatible.

        For netbeans the serverInstanceId is what they interested but not J2EE level. Obviously there is a timing (sync) issue here.

        Show
        Liming Wu added a comment - This has never been problem with Sun as JSF 2.0 can run on either jee5 or 6 enviornment. It is claimed to be backwords compatible. For netbeans the serverInstanceId is what they interested but not J2EE level. Obviously there is a timing (sync) issue here.
        Hide
        Liming Wu added a comment -

        depends on ICE-5840

        Show
        Liming Wu added a comment - depends on ICE-5840
        Hide
        Liming Wu added a comment -

        Released after 2.0 alpha3 for netbeans 6.9 final
        The fix for 5840 work around this netbeans issue.

        Show
        Liming Wu added a comment - Released after 2.0 alpha3 for netbeans 6.9 final The fix for 5840 work around this netbeans issue.

          People

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

            Dates

            • Created:
              Updated:
              Resolved: