OpenEJB
  1. OpenEJB
  2. OPENEJB-451

openejb.xml to properties converter

    Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.0-beta-1
    • Fix Version/s: 3.0-beta-1
    • Component/s: configuration
    • Labels:
      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.

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            David Blevins
            Reporter:
            David Blevins
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development