continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From eveni...@apache.org
Subject svn commit: r583737 - /maven/continuum/branches/continuum-site_1.1/src/site/apt/documentation/1_1/installation/standalone.apt
Date Thu, 11 Oct 2007 08:38:50 GMT
Author: evenisse
Date: Thu Oct 11 01:38:50 2007
New Revision: 583737

URL: http://svn.apache.org/viewvc?rev=583737&view=rev
Log:
Use snippet instead of copy/paste

Modified:
    maven/continuum/branches/continuum-site_1.1/src/site/apt/documentation/1_1/installation/standalone.apt

Modified: maven/continuum/branches/continuum-site_1.1/src/site/apt/documentation/1_1/installation/standalone.apt
URL: http://svn.apache.org/viewvc/maven/continuum/branches/continuum-site_1.1/src/site/apt/documentation/1_1/installation/standalone.apt?rev=583737&r1=583736&r2=583737&view=diff
==============================================================================
--- maven/continuum/branches/continuum-site_1.1/src/site/apt/documentation/1_1/installation/standalone.apt
(original)
+++ maven/continuum/branches/continuum-site_1.1/src/site/apt/documentation/1_1/installation/standalone.apt
Thu Oct 11 01:38:50 2007
@@ -22,171 +22,14 @@
 
     Before to start Continuum, you must configure your SMTP configuration for mail notification.
The configuration to do is in <<<$CONTINUUM_HOME/conf/plexus.xml>>>:
 
-------------------
-  <!--
-       Mail Session
-  -->
-  <resource>
-    <name>mail/Session</name>
-    <type>javax.mail.Session</type>
-    <properties>
-      <property>
-        <name>mail.smtp.host</name>
-        <value>localhost</value>
-      </property>
-      <property>
-        <name>mail.smtp.port</name>
-        <value>25</value>
-      </property>
-
-      <!--
-      <property> 
-        <name>mail.smtp.auth</name>
-        <value>true</value>
-      </property>
-      <property>
-        <name>mail.smtp.user</name>
-        <value>your_login</value>
-      </property>
-      <property>
-        <name>password</name>
-        <value>your_password</value>
-      </property>
-      <property>
-        <name>mail.smtp.debug</name>
-        <value>true</value>
-      </property>
-      <property>
-        <name>mail.smtp.starttls.enable</name>
-        <value>true</value>
-      </property>
-      <property>
-        <name>mail.smtp.socketFactory.class</name>
-        <value>javax.net.ssl.SSLSocketFactory</value>
-      </property>
-      -->
-    </properties>
-  </resource>
-------------------
-
+%{snippet|id=mail|url=http://svn.apache.org/repos/asf/maven/continuum/trunk/continuum-plexus-runtime/src/conf/plexus.xml}
 
 *** {Databases configuration}
 
     By default, Continuum use an embedded {{{http://db.apache.org/derby}Derby}} database.
If you want to use an other database, you can modify the JNDI
     configuration in <<<$CONTINUUM_HOME/conf/plexus.xml>>>:
 
-------------------
-          <!--
-               Datasources
-          -->
-          <resource>
-            <name>jdbc/users</name>
-            <type>javax.sql.DataSource</type>
-            <properties>
-              <property>
-                <name>factory</name>
-                <value>org.apache.commons.dbcp.BasicDataSourceFactory</value>
-              </property>
-
-              <!-- Maximum number of dB connections in pool. Make sure you
-                   configure your mysqld max_connections large enough to handle
-                   all of your db connections. Set to 0 for no limit.
-                   -->
-              <property>
-                <name>maxActive</name>
-                <value>100</value>
-              </property>
-
-              <!-- Maximum number of idle dB connections to retain in pool.
-                   Set to 0 for no limit.
-                   -->
-              <property>
-                <name>maxIdle</name>
-                <value>30</value>
-              </property>
-
-              <!-- Maximum time to wait for a dB connection to become available
-                   in ms, in this example 10 seconds. An Exception is thrown if
-                   this timeout is exceeded.  Set to -1 to wait indefinitely.
-                   -->
-              <property>
-                <name>maxWait</name>
-                <value>10000</value>
-              </property>
-
-              <property>
-                <name>driverClassName</name>
-                <value>org.apache.derby.jdbc.EmbeddedDriver</value>
-              </property>
-              <property>
-                <name>url</name>
-                <value>jdbc:derby:${plexus.home}/data/users/database;create=true</value>
-              </property>
-              <property>
-                <name>username</name>
-                <value>sa</value>
-              </property>
-              <property>
-                <name>password</name>
-                <value></value>
-              </property>
-            </properties>
-          </resource>
-          <resource>
-            <name>jdbc/continuum</name>
-            <type>javax.sql.DataSource</type>
-            <properties>
-              <property>
-                <name>factory</name>
-                <value>org.apache.commons.dbcp.BasicDataSourceFactory</value>
-              </property>
-
-              <!-- Maximum number of dB connections in pool. Make sure you
-                   configure your mysqld max_connections large enough to handle
-                   all of your db connections. Set to 0 for no limit.
-                   -->
-              <property>
-                <name>maxActive</name>
-                <value>100</value>
-              </property>
-
-              <!-- Maximum number of idle dB connections to retain in pool.
-                   Set to 0 for no limit.
-                   -->
-              <property>
-                <name>maxIdle</name>
-                <value>30</value>
-              </property>
-
-              <!-- Maximum time to wait for a dB connection to become available
-                   in ms, in this example 10 seconds. An Exception is thrown if
-                   this timeout is exceeded.  Set to -1 to wait indefinitely.
-                   -->
-              <property>
-                <name>maxWait</name>
-                <value>10000</value>
-              </property>
-
-              <property>
-                <name>driverClassName</name>
-                <value>org.apache.derby.jdbc.EmbeddedDriver</value>
-              </property>
-              <property>
-                <name>url</name>
-                <value>jdbc:derby:${plexus.home}/data/continuum/database;create=true</value>
-              </property>
-              <property>
-                <name>username</name>
-                <value>sa</value>
-              </property>
-              <property>
-                <name>password</name>
-                <value></value>
-              </property>
-            </properties>
-          </resource>
-        </resources>
-------------------
+%{snippet|id=datasources|url=http://svn.apache.org/repos/asf/maven/continuum/trunk/continuum-plexus-runtime/src/conf/plexus.xml}
 
 * {Installing as a Windows Service}
 



Mime
View raw message