[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-2731) Fully functional Seam facet and our own overall Seam project wizard

Alexey Kazakov (JIRA) jira-events at lists.jboss.org
Wed Sep 24 16:24:24 EDT 2008


    [ https://jira.jboss.org/jira/browse/JBIDE-2731?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12431048#action_12431048 ] 

Alexey Kazakov commented on JBIDE-2731:
---------------------------------------

Ok after discussing the issue with Max I would suggest dividing implementation into few steps:

1.	Moving EJB, EAR, Test project creation to New Seam Project Wizard.

Seam Facet should:
-	add seam nature/build
-	set Seam properties
-	copy recourses (pages/java/...)
-	copy/modify configuration files

New Seam Wizard should:
-	create EAR, EAR, test projects

2.	Setting Seam Facet up as facet that can be installed on EAR/EJB/WAR projects.

2.1. Steps for WAR project if it is a module of EAR:
-	add seam nature/build
-	set Seam properties
-	add libs from Seam Runtime (if it set up or we have default one).
-	copy recourses (pages/java/...) from Seam Runtime. Maybe it's better to disable it so far???
-	copy/modify configuration files

We will copy libs and resources into WAR project, which we copy via New Seam Project Wizard in case of EAR deployment type. If user wants to have this project working he has to add Seam facet to EAR and EJB projects.

	2.2. Steps for WAR project if it is independent project:
-	the same what we do in 2.1. But we will add ALL libs and resources, which we copy via New Seam Project Wizard in case of WAR deployment type.

2.3. Steps for EJB project:
-	the same what we do in 2.1.

We will copy libs and resources into EJB project, which we copy via New Seam Project Wizard in case of EAR deployment type. If user wants to have this project working he has to add Seam facet to EAR and WAR projects.

	2.4. Steps for EAR project:
-	add libs from Seam Runtime (if it set up or we have default one).
We will copy libs and resources into EAR project, which we copy via New Seam Project Wizard in case of EAR deployment type.
-	modify/copy configuration files.

3.	Adding "Copy resources" and "Copy libs" checkboxes to install facet page.
Should we disable it by default?

4.	Adding ability to configure EAR modules if user installs Seam facet to any module.
We should let user customize actions, which we can do with other modules of that EAR project. For example we can let user add core libs into EAR project when he is installing seam facet to WAR module.

5.	Check JSF facet and project class path and make sure it didn't have coping libs.
See https://jira.jboss.org/jira/browse/JBIDE-2514

6.	Redesign New Seam Project Wizard. Let user configure EAR/EJB/Test projects via the wizard.

1,2,3 steps are for 3.0.0

If it's ok I will copy it to description field.

> Fully functional Seam facet and our own overall Seam project wizard
> -------------------------------------------------------------------
>
>                 Key: JBIDE-2731
>                 URL: https://jira.jboss.org/jira/browse/JBIDE-2731
>             Project: Tools (JBoss Tools)
>          Issue Type: Feature Request
>    Affects Versions: 3.0.0.alpha
>            Reporter: Denis Golovin
>            Assignee: Alexey Kazakov
>             Fix For: 3.0.0.beta1
>
>
> Problems of current Seam facet:
> - Seam facet creates a few projects (ear, ejb, test) if user selected EAR deployment type.
> - Seam facet replaces configuration files like faces-config.xml, web.xml, etc. So if user already had them
>   we just replace it by new ones.
> - Seam facet doesn't take into account settings of other facetes. For example if user added some jsf libs using 
>   JSF facet page (new web project wizard) seam facet ignores it and adds its own JSF libs.
> What we want to have in new Seam facet:
> - User should be able to INSTALL/UNINSTALL seam facet to web/ejb/ear/java projects.
> - Seam facet should just modify the project when we install it. It should add Seam nature and modify configuration files.
>   It should to do it in different ways depending on the project type (web/ejb/ear/java).
> - Seam facet should use settings of other facets if they influences seam project.
> - We should work with old jboss tools projects.
> New Seam Project Wizard:
> - It should allow user to set up facets for web projects.
> - It should create EAR/EJB/Test projects if user selected EAR deployment. Seam facet won't do it anymore.
> - Look&Feel is very similar to what we have now.

-- 
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