Uploaded image for project: 'Directory ApacheDS'
  1. Directory ApacheDS
  2. DIRSERVER-825

Simplify default server.xml by using another property setting style for simple values and references

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 1.0.1, 1.5.0
    • core
    • None

    Description

      Currently, the bean definitions in the default server.xml from the server-installers project seems to favor this style (example):
      ...
      <bean id="systemPartitionConfiguration" class="...">
      <property name="name"><value>system</value></property>
      <property name="cacheSize"><value>100</value></property>
      <property name="suffix"><value>ou=system</value></property>
      ...

      The configurations becomes shorter if we use this style
      ...
      <bean id="systemPartitionConfiguration" class="...">
      <property name="name" value="system" />
      <property name="cacheSize" value="100" />
      <property name="suffix" value="ou=system" />
      ...

      User can easily use this style on their own, but many will simple adjust the default to their needs. Thus it should be less verbose.

      Attachments

        Activity

          People

            szoerner Stefan Zoerner
            szoerner Stefan Zoerner
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: