[
https://jira.jboss.org/jira/browse/JBIDE-2255?page=com.atlassian.jira.plu...
]
Max Rydahl Andersen updated JBIDE-2255:
---------------------------------------
Component/s: Seam
update descriptors when renaming project
----------------------------------------
Key: JBIDE-2255
URL:
https://jira.jboss.org/jira/browse/JBIDE-2255
Project: Tools (JBoss Tools)
Issue Type: Feature Request
Components: Seam
Affects Versions: 2.1.0.GA
Reporter: Anton Klimkovich
Fix For: LATER
1.
EXECUTE: Create Seam Ear web project (with name Seam)
EXECUTE: In Package Explorer select Seam-ear
EXECUTE: Right mouse click Refator->Rename
EXECUTE: Change name from Seam-ear to newseam-ear
EXECUTE: Open jboss-app.xml
FAILURE: <loader-repository>
seam.jboss.org:loader=Seam-ear.ear
</loader-repository>
jboss-app.xml is not updated.
Also components.properties is not updated:
jndiPattern=Seam-ear/\#{ejbName}/local
embeddedEjb=false
And Form or Action that were created before renaming are not working cause of this.
2.
EXECUTE: In Package Explorer select Seam war project
EXECUTE: Right mouse click Refator->Rename
EXECUTE: Change name from Seam to newseam
FAILURE:
1. package org.domain.Seam.session; - isn't updated
2. <persistence-unit name="Seam"> and <property
name="jboss.entity.manager.factory.jndi.name"
value="java:/SeamEntityManagerFactory"/>in persistence.xml - are not
updated
3. <jndi-name>SeamDatasource</jndi-name> in Seam-test-ds.xml - isn't
updated
--
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