glassfish-samples
  1. glassfish-samples
  2. GLASSFISH_SAMPLES-3

SDK Sample EAR Projects build fails if required projects are not opened first time

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: javaee5
    • Fix Version/s: milestone 1
    • Component/s: enterprise
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: Sun

    • Issuezilla Id:
      3

      Description

      It seemes that sample EAR projects are not correctly packaged. For more
      information see:
      http://www.netbeans.org/issues/show_bug.cgi?id=112710

        Activity

        Hide
        msreddy added a comment -

        Request Hanan to release note the following and then reassign the bug back to
        'msreddy'.

        RN for SDK Update 3:

        Because of a change in default behavior of NetBeans IDE 6.0 when a samples main
        project is opened the corresponding sub-projects are not opened. These
        sub-projects are needed for the successful building and running of the sample.
        The solution is to select the sub-projects by checking the corresponding check
        box when the main samples project is opened. Then follow the other instructions
        as mentioned in the sample documentation.

        Show
        msreddy added a comment - Request Hanan to release note the following and then reassign the bug back to 'msreddy'. RN for SDK Update 3: Because of a change in default behavior of NetBeans IDE 6.0 when a samples main project is opened the corresponding sub-projects are not opened. These sub-projects are needed for the successful building and running of the sample. The solution is to select the sub-projects by checking the corresponding check box when the main samples project is opened. Then follow the other instructions as mentioned in the sample documentation.
        Hide
        hl34125 added a comment -

        added to release notes.
        Draft available for review at
        http://swpubs.sfbay/writing/appserver/SDK/releasenotesU3.html

        Show
        hl34125 added a comment - added to release notes. Draft available for review at http://swpubs.sfbay/writing/appserver/SDK/releasenotesU3.html
        Hide
        basler added a comment -

        Since we can't add all compiled jars to the SDK due to download size concerns,
        the sample instructions that explain how to use the Netbeans IDE needs to be
        updated to explain the need to click the checkbox to open the related projects.

        This should go into update 4 of the Java EE 5 SDK

        Show
        basler added a comment - Since we can't add all compiled jars to the SDK due to download size concerns, the sample instructions that explain how to use the Netbeans IDE needs to be updated to explain the need to click the checkbox to open the related projects. This should go into update 4 of the Java EE 5 SDK
        Hide
        msreddy added a comment -

        punit[100]: cvs commit -m "issue# 3, updated the Netbeans IDE instructions
        regarding 6.0 behavior about the neccessity to open sub-projects along with the
        main project" UserREADME.html
        Checking in UserREADME.html;
        /cvs/glassfish-samples/ws/javaee5/docs/UserREADME.html,v <-- UserREADME.html
        new revision: 1.15; previous revision: 1.14
        done

        punit[101]: diff UserREADME.html.1.14.org UserREADME.html
        172c172,179
        < <li> Open any sample as a netbeans project and right click to execute
        the ant targets, say run

        > <li> Open any sample as a netbeans project and right click to execute
        the ant targets, say run<p>
        > <b>Please note the following regarding NetBeans IDE 6.0.</b><p>
        > Because of a change in default behavior of NetBeans IDE 6.0 when a
        samples main
        > project is opened the corresponding sub-projects are not opened. These
        > sub-projects are needed for the successful building and running of
        the sample.
        > The solution is to select the sub-projects by checking the
        corresponding check
        > box when the main samples project is opened. Then follow the other
        instructions
        > as mentioned in the sample documentation.
        punit[102]:

        Show
        msreddy added a comment - punit [100] : cvs commit -m "issue# 3, updated the Netbeans IDE instructions regarding 6.0 behavior about the neccessity to open sub-projects along with the main project" UserREADME.html Checking in UserREADME.html; /cvs/glassfish-samples/ws/javaee5/docs/UserREADME.html,v <-- UserREADME.html new revision: 1.15; previous revision: 1.14 done punit [101] : diff UserREADME.html.1.14.org UserREADME.html 172c172,179 < <li> Open any sample as a netbeans project and right click to execute the ant targets, say run — > <li> Open any sample as a netbeans project and right click to execute the ant targets, say run<p> > <b>Please note the following regarding NetBeans IDE 6.0.</b><p> > Because of a change in default behavior of NetBeans IDE 6.0 when a samples main > project is opened the corresponding sub-projects are not opened. These > sub-projects are needed for the successful building and running of the sample. > The solution is to select the sub-projects by checking the corresponding check > box when the main samples project is opened. Then follow the other instructions > as mentioned in the sample documentation. punit [102] :

          People

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

            Dates

            • Created:
              Updated:
              Resolved: