geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jawar...@apache.org
Subject svn commit: r732917 - in /geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report: ReportGenerator.groovy model/IterationModel.groovy
Date Fri, 09 Jan 2009 03:38:59 GMT
Author: jawarner
Date: Thu Jan  8 19:38:59 2009
New Revision: 732917

URL: http://svn.apache.org/viewvc?rev=732917&view=rev
Log:
Change variable name to avoid the unintentional infinite recursion introduced

Modified:
    geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/ReportGenerator.groovy
    geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/model/IterationModel.groovy

Modified: geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/ReportGenerator.groovy
URL: http://svn.apache.org/viewvc/geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/ReportGenerator.groovy?rev=732917&r1=732916&r2=732917&view=diff
==============================================================================
--- geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/ReportGenerator.groovy
(original)
+++ geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/ReportGenerator.groovy
Thu Jan  8 19:38:59 2009
@@ -239,8 +239,9 @@
                 renderIterationLog(it)
             }
             
+            /* 
             //  Zip relevant logs for posting on iteration page for download
-            def zipName = targetDir + "/logs/" + iterModel.getName() + ".zip"
+            def zipName = "${targetDir}/logs/${iterModel.testName}.zip"
              
             ant.zip(destfile: zipName) {
                 zipfileset( dir: workDir, includes: 'logs/' )

Modified: geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/model/IterationModel.groovy
URL: http://svn.apache.org/viewvc/geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/model/IterationModel.groovy?rev=732917&r1=732916&r2=732917&view=diff
==============================================================================
--- geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/model/IterationModel.groovy
(original)
+++ geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/report/model/IterationModel.groovy
Thu Jan  8 19:38:59 2009
@@ -62,7 +62,7 @@
         return name.toInteger()
     }
     
-    String getName() {
+    String getTestName() {
         if (iterationIndex != 0) {
             return iterationConfig.get('name').text()
         } 
@@ -137,7 +137,7 @@
     }
     
     String getZip() {
-        return "logs/${name}.zip"
+        return "logs/${testName}.zip"
     }
     
     String getTitle() {



Mime
View raw message