[
http://jira.jboss.com/jira/browse/JBIDE-991?page=all ]
Victor Rubezhny resolved JBIDE-991.
-----------------------------------
Resolution: Done
Test Case:
EXECUTE: Create a new seam project deployed as EAR. Name it "Test" for example.
ASSERT: See that four projects are created ("Test", "Test-test",
"Test-ear", "Test-ejb")
EXECUTE: Remove project "Test" from the workspace. (Another three projects are
still in the workspace.)
EXECUTE: Run again the Seam Project Wizard and try to create project with the same name
("Test" in our example), leave all the wizard fields unchanged and press
"Next" button untill the last page ("Seam Facet").
ASSERT: See an error message: "Test project 'Test-test' already
exists....". "Finish" button is disabled.
EXECUTE: Exit wizard and remove "Test-test" project from the workspace.
EXECUTE: Run again the Seam Project Wizard and try to create project with the same name
("Test" in our example), leave all the wizard fields unchanged and press
"Next" button untill the last page ("Seam Facet").
EXECUTE: Set the value of "Deploy as" combo to "ear".
ASSERT: See an error message: "EAR project 'Test-ear' already
exists....". "Finish" button is disabled.
EXECUTE: Change the value of "Deploy as" combo to "war".
ASSERT: See no error messages in the title. "Finish" button is enabled.
EXECUTE: Exit wizard and remove "Test-ear" project from the workspace.
EXECUTE: Run again the Seam Project Wizard and try to create project with the same name
("Test" in our example), leave all the wizard fields unchanged and press
"Next" button untill the last page ("Seam Facet").
EXECUTE: Set the value of "Deploy as" combo to "ear".
ASSERT: See an error message: "EJB project 'Test-ejb' already
exists....". "Finish" button is disabled.
EXECUTE: Change the value of "Deploy as" combo to "war".
ASSERT: See no error messages in the title. "Finish" button is enabled.
EXECUTE: Exit wizard and remove "Test-ejb" project from the workspace.
EXECUTE: Run again the Seam Project Wizard and try to create project with the same name
("Test" in our example), leave all the wizard fields unchanged and press
"Next" button untill the last page ("Seam Facet").
ASSERT: See no error messages in the title. "Finish" button is enabled.
EXECUTE: Change the value of "Deploy as" combo to "war" and back
again to "ear".
ASSERT: See no error messages appear in the title. "Finish" button is enabled.
Validate seam project names before creating them
------------------------------------------------
Key: JBIDE-991
URL:
http://jira.jboss.com/jira/browse/JBIDE-991
Project: JBoss Tools
Issue Type: Bug
Components: Seam
Affects Versions: 2.0.0.Beta2
Environment: WindowsXP SP2
rhds-win32-1.0.0.beta2.jar
Red Hat Developer Studio
Version: 1.0.0 BETA2
Build: 200709272012-integration
JDK 1.5_08
Reporter: Aliaksey Nis
Assigned To: Victor Rubezhny
Fix For: 2.0.0.CR1
Attachments: SeamRemake.JPG, SeamRemake.txt
1. Create deafult Seam Project, name it "test".
2. Delete it from web projects view with content (so jsf part will be deleted, but part
named test-test - no)
3. Open wizard for create new Seam project, name it "test" - no warning
appears.
4. Press Finish in creation wizard.
Error and exception appears.
Think that there must be check not only for name of main jsf component name, but for
other (-test, -ejb, etc) too.
Logs and screenshot attached.
--
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