james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From da...@apache.org
Subject cvs commit: jakarta-james/src/java/org/apache/james James.java
Date Mon, 27 Jan 2003 15:22:18 GMT
danny       2003/01/27 07:22:13

  Modified:    src/java/org/apache/james James.java
  Log:
  Added attribute confDir to the MailetContext as a temporary measure to allow Sergei Sozonoff
to continue work on bounce processors without waiting for pending changes in mailet configuration
  
  Revision  Changes    Path
  1.44      +4 -2      jakarta-james/src/java/org/apache/james/James.java
  
  Index: James.java
  ===================================================================
  RCS file: /home/cvs/jakarta-james/src/java/org/apache/james/James.java,v
  retrieving revision 1.43
  retrieving revision 1.44
  diff -u -r1.43 -r1.44
  --- James.java	14 Jan 2003 13:58:20 -0000	1.43
  +++ James.java	27 Jan 2003 15:22:12 -0000	1.44
  @@ -46,6 +46,7 @@
   import org.apache.avalon.framework.context.DefaultContext;
   import org.apache.avalon.framework.logger.AbstractLogEnabled;
   import org.apache.avalon.framework.logger.Logger;
  +import org.apache.avalon.phoenix.BlockContext;
   import org.apache.james.core.MailHeaders;
   import org.apache.james.core.MailImpl;
   import org.apache.james.services.DNSServer;
  @@ -371,7 +372,8 @@
   
           //TODO NOT unless specifically required by conf
           attributes.put(Constants.AVALON_COMPONENT_MANAGER, compMgr);
  -
  +        //Temporary get out to allow complex mailet config files to stop blocking sergei
sozonoff's work on bouce processing
  +        attributes.put("confDir", ((BlockContext)myContext).getBaseDirectory().getCanonicalPath()+"/conf/");
           System.out.println(SOFTWARE_NAME_VERSION);
           getLogger().info("JAMES ...init end");
       }
  
  
  

--
To unsubscribe, e-mail:   <mailto:james-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:james-dev-help@jakarta.apache.org>


Mime
View raw message