[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
Sat Jul 12 18:11:26 EDT 2008


    [ http://jira.jboss.com/jira/browse/JBSEAM-3157?page=comments#action_12421040 ] 
            
Jacob Orshalick commented on JBSEAM-3157:
-----------------------------------------

By the way, if there is interest I'd be happy to provide a patch (for both the dependency and this feature).

> Generate profile-specific components.properties definitions through seam-gen
> ----------------------------------------------------------------------------
>
>                 Key: JBSEAM-3157
>                 URL: http://jira.jboss.com/jira/browse/JBSEAM-3157
>             Project: Seam
>          Issue Type: Feature Request
>          Components: Tools
>    Affects Versions: 2.1.0.A1
>            Reporter: Jacob Orshalick
>            Priority: Optional
>
> 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: 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