You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by "Stefano Bagnara (JIRA)" <se...@james.apache.org> on 2011/05/11 13:26:47 UTC

[jira] [Commented] (JAMES-1237) Reorganize system configuration files (spring context, xsd)

    [ https://issues.apache.org/jira/browse/JAMES-1237?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13031648#comment-13031648 ] 

Stefano Bagnara commented on JAMES-1237:
----------------------------------------

About the "mailbox spring" stuff, we discussed it in the mailing list few months ago and you agreed that "having spring modules is a bit bloated for mailbox and imap". Did you change your mind?
http://www.mail-archive.com/server-dev@james.apache.org/msg31051.html

> Reorganize system configuration files (spring context, xsd)
> -----------------------------------------------------------
>
>                 Key: JAMES-1237
>                 URL: https://issues.apache.org/jira/browse/JAMES-1237
>             Project: JAMES Server
>          Issue Type: Improvement
>          Components: Deployment Modules
>            Reporter: Eric Charles
>
> There is a trend for configuration/properties files to be placed in META-INF (look at cxf, camel, maven,... distributions).
> Also, I think the injection of dependent project (mailbox, imap) should not be defined in server, but in the project it self.
> We could have the same approach and define a META-INF/james to hold those files
> The server context could go to META-INF/james/server-spring.xml, and we could move the definitions related to mailbox,imap to their respective project (with the same strategy, in  META-INF/james/mailbox-spring.xml,...)
> For the embedded XSD I'm not sure if thy need to go to META-INF/james/org.apache.activemq,... or META-INF/activemq/
> In all cases, the user can stilll override the defintions at deployment time simply by defining the files in the conf folder (conf is on top of the classpath).

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org