[
http://jira.jboss.com/jira/browse/JBIDE-2238?page=comments#action_12413431 ]
Alexey Kazakov commented on JBIDE-2238:
---------------------------------------
Seam-gen project does not have the real parent project but for user (in settings page) it
looks like the parent project is the same project.
User can use another parent project (real one) only editing
.settings/org.jboss.tools.seam.core.prefs file manualy. That field is not editable in seam
settings page.
Example:
Settings of ejb project:
seam.parent.project=WebProject
Settings of war project:
action.package=org.domain.session
action.sources=/EjbProject/ejbModule
eclipse.preferences.version=1
model.package=org.domain.entity
model.sources=/EjbProject/ejbModule
seam.ear.project=EarProject
seam.ejb.project=EjbProject
seam.project.connection.profile=connection1
seam.project.deployment.type=ear
seam.project.settings.version=1.1
seam.project.web.root.folder=/WebProject/WebContent
seam.runtime.name=jboss-seam-2.0.1.GA
seam.test.creating=true
seam.test.project=TestProject
test.package=org.domain.test
test.sources=/TestProject/src
So seam.parent.project is special property which means that some projects use the same
preferences.
In seam-gen projects you can use a few projects (for example model.sources can point to
another project) but each one uses its own preferences.
Can't change seam settings for ejb project.
-------------------------------------------
Key: JBIDE-2238
URL:
http://jira.jboss.com/jira/browse/JBIDE-2238
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: Seam
Affects Versions: 2.1.0.CR1
Reporter: Alexey Kazakov
Assigned To: Alexey Kazakov
Fix For: 2.1.0.GA
EXECUTE: Create seam project (EAR)
EXECUTE: Open seam settings page for ejb project
EXECUTE: Change model source folder path (for example from /<ejb project>/ejbModule
to /<web project>/src)
EXECUTE: Press ok.
EXECUTE: Open seam settings page for ejb project
FAILURE: model source folder path is not changed. It has original value /<ejb
project>/ejbModule.
The bug is that we read settings from parent web project but save settings in ejb
project.
--
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