[jbosstools-issues] [JBoss JIRA] Closed: (JBIDE-1345) Problems with Seam project imported from .WAR file

Max Andersen (JIRA) jira-events at lists.jboss.org
Tue Nov 20 11:30:20 EST 2007


     [ http://jira.jboss.com/jira/browse/JBIDE-1345?page=all ]

Max Andersen closed JBIDE-1345.
-------------------------------

    Resolution: Rejected

exporting a WAR only export what is meant to be *deployed* meaning it does not include all artifacts in a project so expecting to export as WAR and import it again without problems is wrong.



> Problems with Seam project imported from .WAR file
> --------------------------------------------------
>
>                 Key: JBIDE-1345
>                 URL: http://jira.jboss.com/jira/browse/JBIDE-1345
>             Project: JBoss Tools
>          Issue Type: Bug
>    Affects Versions: 2.0.0.CR1
>         Environment: WindowsXP SP2
> rhds-win32-1.0.0.CR1.jar
> Red Hat Developer Studio
> Version: 1.0.0 BETA2
> Build: Cr1-20071115
> JDK 1.5_08
>            Reporter: Aliaksey Nis
>
> 1. Create default Seam project.
> 2. Export it to .WAR file (using or Main menu > Export (With source option enabled) or Project Archives View (send to compressed folder)).
> 3. Delete seam project from workspace (w/o test part).
> 4. Import this seam project from .WAR file (Main menu > Import > Web > Import from .WAR file).
> 5. Select imported project - right click >Jboss tools > Add JSF capabilities, press Finish.
> 6. Ctrl+N > Seam > Create new seam action.
> Try to select imported project. It is unavailable. Warning shows up about bad Seam project configuration.
> Comparing imported project with basically created:
> 1. Lost hibernate properties file.
> Project properties > Hibernate Settings > Enable Hibernate
> Try to make Hibernate console configuration. No property file available(hibernate-console.properties).
> 2. Lost seam.
> Project properties > Seam Settings > Enable Seam support (Seam 1.2AP).
> Goto Project properties > Project Facets 
> At basic project there:
> Web module - 2.5
> Java - 5.0
> JSF - 1.2
> Seam - 1.2
> At imported project:
> Web Module 2.4
> Java - 6.0
> When i try to change settings warning shows up - "Cannot change version of project facet Dynamic Web vodule to 2.5".
> So, imported Seam project broken.
> In addition, during those operations tons of NPE's appears, related to validation of seam project. As i understand Alexey Kazakov , those NPE's can be related to JBIDE-1334.
> P.S. Does Export to War file support Seam projects? Or it is "normal" beheviour.

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

        



More information about the jbosstools-issues mailing list