Author: berndf
Date: Mon Aug 13 10:48:58 2007
New Revision: 565456
URL: http://svn.apache.org/viewvc?view=rev&rev=565456
Log:
update HOW-TO to reflect current status
Modified:
james/server/sandbox/spring-integration/spring-deployment/HOW-TO.txt
Modified: james/server/sandbox/spring-integration/spring-deployment/HOW-TO.txt
URL:
http://svn.apache.org/viewvc/james/server/sandbox/spring-integration/spring-deployment/HOW-TO.txt?view=diff&rev=565456&r1=565455&r2=565456
==============================================================================
--- james/server/sandbox/spring-integration/spring-deployment/HOW-TO.txt
(original)
+++ james/server/sandbox/spring-integration/spring-deployment/HOW-TO.txt Mon
Aug 13 10:48:58 2007
@@ -2,42 +2,33 @@
1. Preparations
-1.1 Getting all libraries
+1.1 Fetch James Server from TRUNK from svn and build
-Copy into the lib/ folder the following files:
+svn co http://svn.apache.org/repos/asf/james/server/trunk
+cd trunk
+ant dist
-from {James_Server}/lib: all files
-from {James_Server}/bin/lib: all files
-from {James_Server}/build/lib: james-2.3.0.jar mailet-2.3.jar
mailet-api-2.3.jar
-from {James_Server}/phoenix-bin/lib: all files
-from {James_Server}/phoenix-bin/tools/lib: spice-configkit-1.1.2.jar
-from the Spring Framework 2.0 distribution: spring.jar and commons-loggin.jar
+1.2 Fetch Spring Integration module from svn
-1.2 Using your own James configuration
+svn co http://svn.apache.org/repos/asf/james/server/sandbox/spring-integration
-The configuration resides in src/main/config
+1.3 Add freshly generated James jars to spring-integration
+(this step can be ommitted, once spring-deployment is moved to trunk)
-In case you dare to replace this default configuration with your own, please
make sure to make one
-crucial change: at the top of james-config.xml replace the first part of the
Entity references URLs
-which is "../conf/" with "./" so they look like this:
+cp trunk/stage/org.apache.james/jars/james-server-*
spring-integration/stage/org.apache.james/jars/
-<!ENTITY listserverConfig SYSTEM "./james-listmanager.xml">
-<!ENTITY listserverStores SYSTEM "./james-liststores.xml">
-<!ENTITY fetchmailConfig SYSTEM "./james-fetchmail.xml">
-<!ENTITY smtphandlerchainConfig SYSTEM "./james-smtphandlerchain.xml">
+2. Considering some configuration
-No further change is needed.
+if you are not root/Administrator on your machine or have a mail server
already running on some privileged port,
+it is recommended to change in file
+ spring-integration/spring-deployment/src/main/config/beans-base-config.xml
+line
+ <!--<ref bean="exampleConfigurationInterceptor" />-->
+into
+ <ref bean="exampleConfigurationInterceptor" />
+this will start all services at non-privileged ports.
-2. Compile
+3. Building and Running
-Currently there is no build file.
-
-Build all java files residing in src/main/java
-
-3. Run
-
-You need the resulting class files and all libraries in lib to run
-
-org.apache.james.container.spring.Main
-
-James should start like usually. Log messages go to the system console.
\ No newline at end of file
+cd spring-integration/spring-deployment
+ant run
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]