[ 
https://issues.apache.org/jira/browse/DIRSERVER-1079?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12531602
 ] 

David Jencks commented on DIRSERVER-1079:
-----------------------------------------

I don't see any good reason this has to be in a new module.  I added a simple 
test in apacheds-server-xml that tries to fire up a spring configured server 
using the xbean stuff.  Due to the changes alex made yesterday in partition 
setup the current server.xml doesn't work, but now you can see that really 
quickly :-)

rev 581038.

Ole -- the schema for the xbean server.xml is generated from javadoc like 
annotations on the source classes.  Therefore any xml tool or parser can be 
used to validate server.xml against the generated schema.  At this point I 
don't see that an xml schema first approach from which we generate the 
component classes would be an improvement or even workable.  I think at this 
point what will help us most is simplicity in our tool chain and simplicity of 
configuration.  Perhaps when the server is clearly assembled out of well 
defined IOC components we can look into additional configuration mechanisms but 
I think in order to get the current refactoring complete enough to use we 
shouldn't add any more technologies than provide a clear immediate 
simplification and advantage.

indeed the test I added does check that server.xml fits the model :-)

> Add module under apachds to test that the server.xml is up to date
> ------------------------------------------------------------------
>
>                 Key: DIRSERVER-1079
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1079
>             Project: Directory ApacheDS
>          Issue Type: Sub-task
>    Affects Versions: bigbang
>            Reporter: Alex Karasulu
>            Assignee: Alex Karasulu
>             Fix For: bigbang
>
>
> As we make changes we need to remember to update the server.xml default file. 
>  However since this is overlooked quit often it's a good idea to just add a 
> module to test that this server.xml file is working.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to