geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Jencks (JIRA)" <j...@apache.org>
Subject [jira] Closed: (GERONIMO-2735) Add property substitution capability in the config.xml and plan files
Date Mon, 23 Jul 2007 21:52:31 GMT

     [ https://issues.apache.org/jira/browse/GERONIMO-2735?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

David Jencks closed GERONIMO-2735.
----------------------------------

       Resolution: Fixed
    Fix Version/s:     (was: 2.0-M6)
                   2.0-M7

I updated http://cwiki.apache.org/confluence/display/GMOxDOC20/Multiple+Repositories

and merged the last set of changes to the 2.0 branch in rev 558873.

The wiki page is not the ideal place to document this, but it's better than nothing.

> Add property substitution capability in the config.xml and plan files
> ---------------------------------------------------------------------
>
>                 Key: GERONIMO-2735
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-2735
>             Project: Geronimo
>          Issue Type: New Feature
>      Security Level: public(Regular issues) 
>    Affects Versions: 1.1.1, 1.1.x, 2.0-M1
>         Environment: All
>            Reporter: Ted Kirby
>            Assignee: David Jencks
>            Priority: Minor
>             Fix For: 2.0-M7
>
>         Attachments: JIRA2735.1.1.1.patch, JIRA2735.2.0.patch
>
>
> Allow property substitution as it works in maven, Spring, and JBoss.
> Allow a geronimo.properties type file.  In that file, allow something like this:
> tomcat.port=9090
> tomcat.listen.ip=10.0.0.7
> In the config.xml, then allow the following:
> ...
> <module name="...">
>     <gbean name="TomcatConnector">
>         <attribute name="port">${tomcat.port}</attribute>
>         <attribute name="host">${tomcat.listen.ip}</attribute>
>    </gbean>
> </module>
> The server reads the property file on boot (if one exists).  When the config.xml is processed,
it substitutes the declared property.
> Properties might also come from a GBean.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message