[jbosstools-issues] [JBoss JIRA] (JBIDE-12160) Seam 2 component.properties is not generated correctly
Alexey Kazakov (JIRA)
jira-events at lists.jboss.org
Mon Jun 11 16:54:04 EDT 2012
[ https://issues.jboss.org/browse/JBIDE-12160?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12700600#comment-12700600 ]
Alexey Kazakov commented on JBIDE-12160:
----------------------------------------
I attached the patch.
Marek, JBT with this patch will create components.properties with the following property:
{code}
jndiPattern=java\:app/app1-ejb/\#{ejbName}
{code}
java.util.Properties escapes ":" so the result of this generation is java\: instead of java:
I guess it's ok?
> Seam 2 component.properties is not generated correctly
> -------------------------------------------------------
>
> Key: JBIDE-12160
> URL: https://issues.jboss.org/browse/JBIDE-12160
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: Seam 2
> Affects Versions: 3.3.0.CR1
> Reporter: Marek Novotny
> Assignee: Alexey Kazakov
> Attachments: org.jboss.tools.seam.core.patch
>
>
> Seam 2 EAR application is generated with components.properties in app1-ejb/ejbModule/components.properties and wrong jndiPattern
> {noformat}
> jndiPattern=app1-ear/\#{ejbName}/local
> {noformat}
> there should be instead
> {noformat}
> jndiPattern=java:app/app1-ejb/\#{ejbName}
> {noformat}
> Seam-gen this does as replacing token @ejbJndiPattern@ in time of build with java:app/${project.name}-ejb/#{ejbName}
--
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
More information about the jbosstools-issues
mailing list