You are viewing a plain text version of this content. The canonical link for it is here.
Posted to svn@forrest.apache.org by br...@apache.org on 2004/07/28 22:45:46 UTC

svn commit: rev 30878 - in forrest/trunk/src: documentation/content/xdocs/docs forrestbot/core

Author: brondsem
Date: Wed Jul 28 13:45:46 2004
New Revision: 30878

Modified:
   forrest/trunk/src/documentation/content/xdocs/docs/forrestbot.xml
   forrest/trunk/src/forrestbot/core/notify.xml
Log:
added notify.email.from

Modified: forrest/trunk/src/documentation/content/xdocs/docs/forrestbot.xml
==============================================================================
--- forrest/trunk/src/documentation/content/xdocs/docs/forrestbot.xml	(original)
+++ forrest/trunk/src/documentation/content/xdocs/docs/forrestbot.xml	Wed Jul 28 13:45:46 2004
@@ -678,6 +678,16 @@
 
               <td>Yes</td>
             </tr>
+
+            <tr>
+              <td>notify.email.from</td>
+
+              <td>From: address in the email</td>
+
+              <td>Forrestbot</td>
+
+              <td>No, but some mailers may require a valid email address.</td>
+            </tr>
           </table>
         </section>
       </section>

Modified: forrest/trunk/src/forrestbot/core/notify.xml
==============================================================================
--- forrest/trunk/src/forrestbot/core/notify.xml	(original)
+++ forrest/trunk/src/forrestbot/core/notify.xml	Wed Jul 28 13:45:46 2004
@@ -67,12 +67,13 @@
   <!-- default values -->
   <property name="notify.email.host" value="localhost"/>
   <property name="notify.email.to"   value="${user.name}@localhost"/>
+  <property name="notify.email.from"   value="Forrestbot"/>
   
   <target name="notify.email" depends="notify.init, build" if="notify.do" description="FB: Notify by email">
     <tstamp>
       <format property="NOW" pattern="dd MMMM hh:mm aa"/>
     </tstamp>
-    <mail from="Forrestbot"
+    <mail from="${notify.email.from}"
       mailhost="${notify.email.host}"
       tolist="${notify.email.to}"
       subject="ForrestBot build for ${ant.project.name} ${notify.completion-status}"