Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-5181

Wrong Seam model and action folders paths for project with jpa facet.

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Done
    • 3.1.0.M4
    • 4.16.0.Final
    • seam2
    • None

    Description

      When jpa+seam project is created it model and action folders are <project_name>/src (when only seam model=<project_name>/src/main and action=<project_name>/src/hot). See SeamFacetAbstractInstallDelegate#copyFilesToWarProject(line 461)

      SeamProjectCreator doesn't take this into account and saves wrong values for the folders path.
      See SeamProjectCreator#createSeamProjectPreferenes(line 497)

      Test Case:
      1. New Seam Web Projetc with any name
      2. Add jpa facet
      3. Select deploy as WAR
      4. Finish (if not available do reqired steps)
      5. Right click on the project, seam settings
      Observe "Model" and "Action / ..." source paths set to <project_name>/src

      Attachments

        Activity

          People

            Unassigned Unassigned
            dgeraskov Dmitry Geraskov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: