You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm@geronimo.apache.org by jd...@apache.org on 2007/02/11 04:12:56 UTC
svn commit: r505828 -
/geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/Controller.groovy
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')