[jbossseam-issues] [JBoss JIRA] Created: (JBSEAM-2807) Add comment to jndiPattern in example's component.properties files

Stephen Friedrich (JIRA) jira-events at lists.jboss.org
Mon Mar 31 17:31:39 EDT 2008

Add comment to jndiPattern in example's component.properties files

                 Key: JBSEAM-2807
                 URL: http://jira.jboss.com/jira/browse/JBSEAM-2807
             Project: JBoss Seam
          Issue Type: Feature Request
    Affects Versions: 2.0.1.GA
            Reporter: Stephen Friedrich

The Seam reference says that patterns in components.xml like @jndiPattern@ can be replaced at runtime with corresponding values from components.properties if that file is on the class path.

It is confusing, though that each example's components.xml contains 
{code}<core:init jndi-pattern="@jndiPattern@" debug="true"/>{code}
and the components.properties contains
{code}jndiPattern #{ejbName}/local{code}
However when running on the default app server (JBoss) the components.xml gets changed at runtime to 
{code}<core:init jndi-pattern="jboss-seam-booking/#{ejbName}/local" debug="true"/>{code}

Please add a comment to components.properties like
"The pattern in components.xml is replaced by an application server specific value by ant. This value here is for running tests only:"

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


More information about the seam-issues mailing list