geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jdil...@apache.org
Subject svn commit: r506014 - in /geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild: config/projects/Geronimo_CTS/Controller.groovy system/util/IterationConfigurator.groovy
Date Sun, 11 Feb 2007 14:51:35 GMT
Author: jdillon
Date: Sun Feb 11 06:51:34 2007
New Revision: 506014

URL: http://svn.apache.org/viewvc?view=rev&rev=506014
Log:
Refactory iter cfgr for better resuse... still ugly whack code though :-(

Modified:
    geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/Controller.groovy
    geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/system/util/IterationConfigurator.groovy

Modified: geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/Controller.groovy
URL: http://svn.apache.org/viewvc/geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/Controller.groovy?view=diff&rev=506014&r1=506013&r2=506014
==============================================================================
--- geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/Controller.groovy
(original)
+++ geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/Controller.groovy
Sun Feb 11 06:51:34 2007
@@ -252,11 +252,11 @@
     def runtestsIteration = {
         params.tests = '%'
         
-        def cfg = new IterationConfigurator(context)
+        def cfg = new IterationConfigurator()
         cfg.configFile = 'project/tck-testsuite/iterations.xml'
         cfg.iteration = params.iteration
         cfg.applyTo = [ 'tests' ]
-        cfg.apply()
+        cfg.apply(params)
         
         runtests()
     }

Modified: geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/system/util/IterationConfigurator.groovy
URL: http://svn.apache.org/viewvc/geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/system/util/IterationConfigurator.groovy?view=diff&rev=506014&r1=506013&r2=506014
==============================================================================
--- geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/system/util/IterationConfigurator.groovy
(original)
+++ geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/system/util/IterationConfigurator.groovy
Sun Feb 11 06:51:34 2007
@@ -45,12 +45,6 @@
     
     String replacementToken = '%'
     
-    def IterationConfigurator(BuildContext context) {
-        assert context
-        
-        params = context.params
-    }
-    
     def setConfigFile(filename) {
         assert filename
         
@@ -113,7 +107,7 @@
         return list.join(' ')
     }
     
-    def apply() {
+    def apply(params) {
         def config = loadConfig()
         
         assert iteration <= config.iteration.size() : "Iteration index is out of range"



Mime
View raw message