You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by "David Blevins (JIRA)" <ji...@apache.org> on 2007/01/21 04:40:30 UTC

[jira] Created: (OPENEJB-451) openejb.conf to properties converter

openejb.conf to properties converter
------------------------------------

                 Key: OPENEJB-451
                 URL: https://issues.apache.org/jira/browse/OPENEJB-451
             Project: OpenEJB
          Issue Type: New Feature
          Components: configuration
    Affects Versions: 3.0
            Reporter: David Blevins
             Fix For: 3.0


Command line tool that can convert an openejb conf file into a properties file.

Anything in the openejb.conf file can already be configured via:

-D<id>.<property-name>=<property-value>

Where id is the value in the config file for example:

<Connector id="mysql">            
    JdbcDriver  com.mysql.jdbc.Driver
    JdbcUrl     jdbc:mysql://localhost/test
    UserName    test
</Connector>

Could be overridden as follows via system properties:

-Dmysql.JdbcDriver=com.mysql.jdbc.Driver
-Dmysql.JdbcUrl=jdbc:mysql://localhost/test
-Dmysql.UserName=test

We should write a simple tool to spit out all the properties for your conf so you have an even easier time overriding things.



-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira