Tomas Remes created JBSEAM-4909:
-----------------------------------
Summary: Cannot generate Seam entities in JBDS
Key: JBSEAM-4909
URL:
https://issues.jboss.org/browse/JBSEAM-4909
Project: Seam 2
Issue Type: Bug
Components: Tools
Environment: Seam 2.3.0-SNAPSHOT 20120319, JBDS 5.0.0.Beta1
Reporter: Tomas Remes
Fix For: 2.3.0.BETA1
Generating Seam entities causes following error message in JBDS:
{noformat}
Can't generate seam entities
org.hibernate.tool.hbm2x.ExporterException: Error while processing Entity:
org.domain.testseam.entity.Vehicle with template view/list.xhtml.ftl
Error while processing Entity: org.domain.testseam.entity.Vehicle with template
view/list.xhtml.ftl
org.hibernate.tool.hbm2x.ExporterException: Error while processing Entity:
org.domain.testseam.entity.Vehicle with template view/list.xhtml.ftl
Error while processing Entity: org.domain.testseam.entity.Vehicle with template
view/list.xhtml.ftl
freemarker.core.InvalidReferenceException: Expression property.value.typeName is undefined
on line 27, column 18 in util/TypeInfo.ftl.
Expression property.value.typeName is undefined on line 27, column 18 in
util/TypeInfo.ftl.
{noformat}
Switching back to:
{noformat} <#return
property.value.class.name.matches("org.hibernate.mapping.(One|Many)ToOne")/>
{noformat}
in seam-gen/util/TypeInfo.ftl works fine.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira