Uploaded image for project: 'Seam 2'
  1. Seam 2
  2. JBSEAM-1535

Netbeans project file is not configured properly by seam-gen

    Details

    • Type: Patch
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 2.0.0.CR1
    • Fix Version/s: 2.0.0.CR2
    • Component/s: Tools
    • Labels:
      None
    • Environment:

      seam CVS HEAD
      NetBeans 5.5.1

    • Affects:
      Compatibility/Configuration
    • Estimated Difficulty:
      Low

      Description

      The nbproject/project.xml file put in place by seam-gen is broken in more than three ways. Fortunately, I have a patch for you!

      So how is it broken?

      1. It is configured to use "src" as the Java source folder. seam-gen, in fact, creates three source folders, src/action, src/model, and src/test (hence the broken in more than three ways comment)
      2. The test package does not have any libraries, so it is impossible to start writing tests in NetBeans using TestNG and SeamTest
      3. The xmlns on the java-data note should be upgraded to support NetBeans 5.5.1 (at least, that is what NetBeans 5.5.1 changed it to)
      4. Take out testng.jar from the src/action and src/model compilation units

        Gliffy Diagrams

          Attachments

          1. JBSEAM-1535-project_xml-v1.txt
            5 kB
            Dan Allen
          2. JBSEAM-1535-project_xml-v2.txt
            5 kB
            Dan Allen
          3. JBSEAM-1535-project_xml-v3.txt
            6 kB
            Dan Allen
          4. JBSEAM-1535-project_xml-v4.txt
            6 kB
            Dan Allen
          5. JBSEAM-1535-v5.txt
            7 kB
            Dan Allen
          6. JBSEAM-1535-v6.txt
            7 kB
            Dan Allen
          7. project.xml
            6 kB
            Dan Allen

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                dan.j.allen Dan Allen
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 10 minutes
                  10m
                  Remaining:
                  Remaining Estimate - 10 minutes
                  10m
                  Logged:
                  Time Spent - Not Specified
                  Not Specified