You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Stefan Zoerner (JIRA)" <ji...@apache.org> on 2007/01/13 09:07:27 UTC

[jira] Created: (DIRSERVER-825) Simplify default server.xml by using another property setting style for simple values and references

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

                 Key: DIRSERVER-825
                 URL: https://issues.apache.org/jira/browse/DIRSERVER-825
             Project: Directory ApacheDS
          Issue Type: Improvement
          Components: core
            Reporter: Stefan Zoerner
         Assigned To: Stefan Zoerner
            Priority: Minor
             Fix For: 1.0.1, 1.5.0


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.

-- 
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

        

[jira] Closed: (DIRSERVER-825) Simplify default server.xml by using another property setting style for simple values and references

Posted by "Stefan Zoerner (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DIRSERVER-825?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stefan Zoerner closed DIRSERVER-825.
------------------------------------


Changes finished for 1.0 branch and the 1.5 trunk.

> Simplify default server.xml by using another property setting style for simple values and references
> ----------------------------------------------------------------------------------------------------
>
>                 Key: DIRSERVER-825
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-825
>             Project: Directory ApacheDS
>          Issue Type: Improvement
>          Components: core
>            Reporter: Stefan Zoerner
>         Assigned To: Stefan Zoerner
>            Priority: Minor
>             Fix For: 1.0.1, 1.5.0
>
>
> 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.

-- 
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

        

[jira] Commented: (DIRSERVER-825) Simplify default server.xml by using another property setting style for simple values and references

Posted by "Stefan Zoerner (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DIRSERVER-825?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12464442 ] 

Stefan Zoerner commented on DIRSERVER-825:
------------------------------------------

Done in 1.0.1 :
http://svn.apache.org/viewvc?view=rev&revision=495880

> Simplify default server.xml by using another property setting style for simple values and references
> ----------------------------------------------------------------------------------------------------
>
>                 Key: DIRSERVER-825
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-825
>             Project: Directory ApacheDS
>          Issue Type: Improvement
>          Components: core
>            Reporter: Stefan Zoerner
>         Assigned To: Stefan Zoerner
>            Priority: Minor
>             Fix For: 1.0.1, 1.5.0
>
>
> 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.

-- 
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

        

[jira] Commented: (DIRSERVER-825) Simplify default server.xml by using another property setting style for simple values and references

Posted by "Ersin Er (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DIRSERVER-825?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12464574 ] 

Ersin Er commented on DIRSERVER-825:
------------------------------------

http://static.springframework.org/spring/docs/1.2.x/reference/beans.html#d0e1000

> Simplify default server.xml by using another property setting style for simple values and references
> ----------------------------------------------------------------------------------------------------
>
>                 Key: DIRSERVER-825
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-825
>             Project: Directory ApacheDS
>          Issue Type: Improvement
>          Components: core
>            Reporter: Stefan Zoerner
>         Assigned To: Stefan Zoerner
>            Priority: Minor
>             Fix For: 1.0.1, 1.5.0
>
>
> 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.

-- 
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

        

[jira] Commented: (DIRSERVER-825) Simplify default server.xml by using another property setting style for simple values and references

Posted by "Stefan Zoerner (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DIRSERVER-825?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12464579 ] 

Stefan Zoerner commented on DIRSERVER-825:
------------------------------------------

1.0.1: Changes applied to apacheds/server-main/server.xml as well
http://svn.apache.org/viewvc?view=rev&revision=496044

> Simplify default server.xml by using another property setting style for simple values and references
> ----------------------------------------------------------------------------------------------------
>
>                 Key: DIRSERVER-825
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-825
>             Project: Directory ApacheDS
>          Issue Type: Improvement
>          Components: core
>            Reporter: Stefan Zoerner
>         Assigned To: Stefan Zoerner
>            Priority: Minor
>             Fix For: 1.0.1, 1.5.0
>
>
> 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.

-- 
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

        

[jira] Commented: (DIRSERVER-825) Simplify default server.xml by using another property setting style for simple values and references

Posted by "Stefan Zoerner (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DIRSERVER-825?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12464566 ] 

Stefan Zoerner commented on DIRSERVER-825:
------------------------------------------

Just a little note for those of you who don't know the Spring Framework in detail:

The bean definitions in the description above are equivalent; Spring offers the alternative with a value attribute instead of a value element for primitive types and stings. It does not work for more complicated things like sets and lists (like the property indexedAttributes in partition configurations).  this shortcut does not apply for <props>.

See here for details.
http://static.springframework.org/spring/docs/1.2.x/reference/

Therefore this change in the server.xml does not interfere any existing configuration you might already have. The aim of changing the default server.xml is to show new users, who are not Spring experts, this abbreviated configuration option instead of the lengthy one.





> Simplify default server.xml by using another property setting style for simple values and references
> ----------------------------------------------------------------------------------------------------
>
>                 Key: DIRSERVER-825
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-825
>             Project: Directory ApacheDS
>          Issue Type: Improvement
>          Components: core
>            Reporter: Stefan Zoerner
>         Assigned To: Stefan Zoerner
>            Priority: Minor
>             Fix For: 1.0.1, 1.5.0
>
>
> 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.

-- 
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

        

[jira] Resolved: (DIRSERVER-825) Simplify default server.xml by using another property setting style for simple values and references

Posted by "Stefan Zoerner (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DIRSERVER-825?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stefan Zoerner resolved DIRSERVER-825.
--------------------------------------

    Resolution: Fixed

Done in 1.5.0 as well.
http://svn.apache.org/viewvc?view=rev&revision=496087

> Simplify default server.xml by using another property setting style for simple values and references
> ----------------------------------------------------------------------------------------------------
>
>                 Key: DIRSERVER-825
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-825
>             Project: Directory ApacheDS
>          Issue Type: Improvement
>          Components: core
>            Reporter: Stefan Zoerner
>         Assigned To: Stefan Zoerner
>            Priority: Minor
>             Fix For: 1.0.1, 1.5.0
>
>
> 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.

-- 
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