Server should be ok now with mailbox trunk (+ mailbox-spring + mailbox-lucene) and imap trunk.

The goal of previous commits was to reuse the spring definitions loaded via classpath. Any system admin can simply modify these definitions creating a file in conf/META-INF/org/apache/james/...

Side note (this behaviour was already present before the today changes): There seems to be something to repair on folders presence levels (moving a mail to an exisiting but not subscribed folder, or something like that...) I will investigate tomorrow (short on time today).

Thx.

Eric

On 17/08/11 18:26, e...@apache.org wrote:
Author: eric
Date: Wed Aug 17 16:26:58 2011
New Revision: 1158806

URL: http://svn.apache.org/viewvc?rev=1158806&view=rev
Log:
Use the main spring file from META-INF/org/apache/james (JAMES-1295)

Modified:
     
james/server/trunk/container-spring/src/main/java/org/apache/james/container/spring/Main.java

Modified: 
james/server/trunk/container-spring/src/main/java/org/apache/james/container/spring/Main.java
URL: 
http://svn.apache.org/viewvc/james/server/trunk/container-spring/src/main/java/org/apache/james/container/spring/Main.java?rev=1158806&r1=1158805&r2=1158806&view=diff
==============================================================================
--- 
james/server/trunk/container-spring/src/main/java/org/apache/james/container/spring/Main.java
 (original)
+++ 
james/server/trunk/container-spring/src/main/java/org/apache/james/container/spring/Main.java
 Wed Aug 17 16:26:58 2011
@@ -63,7 +63,7 @@ public class Main implements Daemon {
       * )
       */
      public void init(DaemonContext arg0) throws Exception {
-        context = new JamesServerApplicationContext(new String[] { 
"context/james-server-context.xml" });
+        context = new JamesServerApplicationContext(new String[] { 
"META-INF/org/apache/james/spring-server.xml" });
          context.registerShutdownHook();
          context.start();
      }



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


--
Eric

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

Reply via email to