[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-1310) Just created Seam Web Project deployed as EAR couldn't be built
Victor Rubezhny (JIRA)
jira-events at lists.jboss.org
Tue Nov 13 12:41:19 EST 2007
[ http://jira.jboss.com/jira/browse/JBIDE-1310?page=comments#action_12387345 ]
Victor Rubezhny commented on JBIDE-1310:
----------------------------------------
This cannot be avoided just by project/clean (at least in my environment). It requires to re-order the libraries (to place "EAR Libraries" after "Web App Libraries" in "Properties->Java Build Path->Order and Export" dialog) before project clean/rebuild.
> Just created Seam Web Project deployed as EAR couldn't be built
> ---------------------------------------------------------------
>
> Key: JBIDE-1310
> URL: http://jira.jboss.com/jira/browse/JBIDE-1310
> Project: JBoss Tools
> Issue Type: Bug
> Components: Seam
> Affects Versions: 2.0.0.CR1
> Environment: Win2k, Red Hat Developer Studio Build id: 1.0.0.CR1, 2007-11-12
> Reporter: Victor Rubezhny
> Fix For: 2.0.0.GA
>
>
> Just created Seam Web Project deployed as EAR couldn't be built. The problem view contains errors like the following (the class names may vary):
> - <"org.jboss.seam.core.Ejb" cannot be resolved to a type> on resource <ProjectName>/WebContent/WEB-INF/components.xml
> - <"org.jboss.seam.security.Identity" cannot be resolved to a type>on resource <ProjectName>/WebContent/WEB-INF/components.xml
> - <error: Attribute phase-listener references to non-existent class org.jboss.seam.jsf.TransactionalSeamPhaseListener> on resource <ProjectName>/WebContent/WEB-INF/faces-config.xml
> Test Case:
> ---------------
> EXECUTE: Open New Seam Web Project Wizard due to create a project
> EXECUTE: Type in a project name, for example: "EARProject"
> EXECUTE: Press "Next >" button untill the "Seam Facet" wizard page leaving the other fields with their default values. Set the value of "Deploy As" radio-button to "EAR". Press "Finish" button.
> ASSERT: See the 4 projects are created and built in the workspace.
> EXECUTE: (If "Project->Build Automatically" option is turned off) perform refresh and build operations on these projects.
> EXECUTE: Open the Problems View. Select "EARProject1" in the workspace.
> ASSERT: See no errors for that project in the Problems View.
> EXECUTE: Repeat the project creation with the same parameters but different name, for example: "EARProject1".
> ASSERT: See the 4 projects are created and built in the workspace.
> EXECUTE: (If "Project->Build Automatically" option is turned off) perform refresh and build operations on these projects.
> EXECUTE: Open the Problems View. Select "EARProject1" in the workspace.
> ASSERT: See no errors for that project in the Problems View.
--
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