[
https://issues.jboss.org/browse/JBIDE-9481?page=com.atlassian.jira.plugin...
]
Alexey Kazakov edited comment on JBIDE-9481 at 8/8/11 2:16 PM:
---------------------------------------------------------------
It's an issue of seam-gen 2.0 templates which use the project name as a seam component
name for <persistence:entity-manager-factory
name="test-warEntityManagerFactory" ...>
This issue was fixed in Seam 2.1.
As workaround you can change
{code:xml}
<persistence:entity-manager-factory name="test-warEntityManagerFactory"
persistence-unit-name="test-war"/>
{code}
to
{code:xml}
<persistence:entity-manager-factory name="entityManagerFactory"
persistence-unit-name="test-war"/>
{code}
or use Seam 2.1 or 2.2 as a Seam runtime in New Seam Web Project wizard.
was (Author: akazakov):
It's an issue of seam-gen 2.0 templates which use the project name as a seam
component name for <persistence:entity-manager-factory
name="test-warEntityManagerFactory" ...>
This issue was fixed in Seam 2.1.
As workaround you can change
{code}
<persistence:entity-manager-factory name="test-warEntityManagerFactory"
persistence-unit-name="test-war"/>
{code}
to
{code}
<persistence:entity-manager-factory name="entityManagerFactory"
persistence-unit-name="test-war"/>
{code}
or use Seam 2.1 or 2.2 as a Seam runtime in New Seam Web Project wizard.
JBDS should filter Seam components name containing dash
-------------------------------------------------------
Key: JBIDE-9481
URL:
https://issues.jboss.org/browse/JBIDE-9481
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: Seam2, UpStream
Affects Versions: 3.2.0.Final
Environment: EAP 4.3
Reporter: Tomáš Remeš
Assignee: Alexey Kazakov
JBDS should filter Seam components name containing dash. Similarly to seam-gen where the
dash in the name is replaced to underscore character. If i create new Seam Web Project in
JBDS for example with name "test-war" then in components.xml is registered
component test-warEntityManagerFactory, which is not valid Seam Component name.
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira