continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From eveni...@apache.org
Subject svn commit: r312577 - /maven/continuum/trunk/continuum-core/src/main/resources/org/apache/maven/continuum/notification/mail/templates/common.vm
Date Mon, 10 Oct 2005 07:48:23 GMT
Author: evenisse
Date: Mon Oct 10 00:48:19 2005
New Revision: 312577

URL: http://svn.apache.org/viewcvs?rev=312577&view=rev
Log:
[CONTINUUM-349] Show changes in text email

Modified:
    maven/continuum/trunk/continuum-core/src/main/resources/org/apache/maven/continuum/notification/mail/templates/common.vm

Modified: maven/continuum/trunk/continuum-core/src/main/resources/org/apache/maven/continuum/notification/mail/templates/common.vm
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-core/src/main/resources/org/apache/maven/continuum/notification/mail/templates/common.vm?rev=312577&r1=312576&r2=312577&view=diff
==============================================================================
--- maven/continuum/trunk/continuum-core/src/main/resources/org/apache/maven/continuum/notification/mail/templates/common.vm
(original)
+++ maven/continuum/trunk/continuum-core/src/main/resources/org/apache/maven/continuum/notification/mail/templates/common.vm
Mon Oct 10 00:48:19 2005
@@ -32,13 +32,18 @@
 
 #if ( $build.scmResult )
 Changes
-#if ( $build.scmResult.files.isEmpty() )
- No files changed
-#else
- #foreach ( $file in $build.scmResult.files )
- * $file.path
- #end
-#end
+  #if ( $build.scmResult.changes.size() == 0 )
+    No files changed
+  #else
+  #foreach ( $changeSet in $build.scmResult.changes )
+    #if ($changeSet.author) $changeSet.author #end
+    #if ($changeSet.date > 0) $date.format('medium',$changeSet.date) #end
+    #if ($changeSet.comment) $changeSet.comment #end
+    #foreach ( $file in $changeSet.files )
+        $!file.name
+    #end
+  #end
+  #end
 #end
 
 #if ( $build.state == 4 )



Mime
View raw message