[jbosstools-issues] [JBoss JIRA] Updated: (JBIDE-5181) Wrong Seam model and action folders paths for project with jpa facet.

Dmitry Geraskov (JIRA) jira-events at lists.jboss.org
Tue Nov 10 09:17:06 EST 2009


     [ https://jira.jboss.org/jira/browse/JBIDE-5181?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dmitry Geraskov updated JBIDE-5181:
-----------------------------------

    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 


  was:
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
Objesre "Model" and "Action / ..." source paths set to <project_name>/src 




> Wrong Seam model and action folders paths for project with jpa facet.
> ---------------------------------------------------------------------
>
>                 Key: JBIDE-5181
>                 URL: https://jira.jboss.org/jira/browse/JBIDE-5181
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: Seam
>    Affects Versions: 3.1.0.M4
>            Reporter: Dmitry Geraskov
>            Assignee: Alexey Kazakov
>             Fix For: LATER
>
>
> 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 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list