[jbossseam-issues] [JBoss JIRA] Commented: (JBSEAM-3157) Generate profile-specific components.properties definitions through seam-gen
Jacob Orshalick (JIRA)
jira-events at lists.jboss.org
Fri Aug 1 01:24:25 EDT 2008
[ https://jira.jboss.org/jira/browse/JBSEAM-3157?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12423312#action_12423312 ]
Jacob Orshalick commented on JBSEAM-3157:
-----------------------------------------
For those interested in applying the patch to your own project, keep in mind that the jndiPattern for both components-dev.properties and components-prod.properties will need to be appended with the name of your project archive, e.g. myProject/\#{ejbName}/local
> Generate profile-specific components.properties definitions through seam-gen
> ----------------------------------------------------------------------------
>
> Key: JBSEAM-3157
> URL: https://jira.jboss.org/jira/browse/JBSEAM-3157
> Project: Seam
> Issue Type: Feature Request
> Components: Tools
> Affects Versions: 2.1.0.A1
> Reporter: Jacob Orshalick
> Assignee: Jacob Orshalick
> Priority: Optional
> Fix For: 2.1.0.BETA1
>
> Attachments: components-dev.properties, components-prod.properties, components-test.properties, JBSEAM-3157-ear-v1.patch, JBSEAM-3157-war-v1.patch
>
>
> Seam-gen profiles provides a great way for Ant users to enable environment-specific configuration. It would be great to also provide the option to configure Seam components based on profile without having to edit the build (currently seam-gen is using filter tokens to swap out env-config reported at JBSEAM-3031). The approach is described here: http://solutionsfit.com/blog/2008/06/17/managing-environment-specific-configuration-with-seam/
> Essentially creation of the following in a seam-gen'd project:
> components-dev.properties
> components-test.properties
> components-prod.properties
> and using the build to pick the appropriate properties file based on the current profile. Dependendent on JBSEAM-3031.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the seam-issues
mailing list