geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jdil...@apache.org
Subject svn commit: r505828 - /geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/Controller.groovy
Date Sun, 11 Feb 2007 03:12:56 GMT
Author: jdillon
Date: Sat Feb 10 19:12:56 2007
New Revision: 505828

URL: http://svn.apache.org/viewvc?view=rev&rev=505828
Log:
Use Java 1.4 for runtests in 1.2 and Java 1.5 for runtests in 2.0

Modified:
    geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/Controller.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=505828&r1=505827&r2=505828
==============================================================================
--- 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
Sat Feb 10 19:12:56 2007
@@ -193,10 +193,27 @@
     
     def runtests = {
         def exec = new ExecCommand(context)
+        
         exec.executable = 'project/tck-testsuite/runtests'
         
         def args = []
         args << '--nocolor'
+        
+        //
+        // For this project, we need to get the java version from
+        // AH configuration (since 1.2 and 2.0 use differnt versions)
+        //
+        
+        args << '-jv'
+        switch (params.require('anthill.workflow')) {
+            case 'build 1.2':
+                args << 1.4
+                break
+            
+            case 'build 2.0':
+                args << 1.4
+                    break
+        }
         
         args << '-w'
         args << params.require('webcontainer')



Mime
View raw message