Uploaded image for project: 'OpenEJB'
  1. OpenEJB
  2. OPENEJB-451

openejb.xml to properties converter

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.0-beta-1
    • 3.0-beta-1
    • configuration
    • None

    Description

      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.

      Attachments

        Activity

          People

            dblevins David Blevins
            dblevins David Blevins
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: