geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jdil...@apache.org
Subject svn commit: r506880 - /geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/Controller.groovy
Date Tue, 13 Feb 2007 06:14:19 GMT
Author: jdillon
Date: Mon Feb 12 22:14:19 2007
New Revision: 506880

URL: http://svn.apache.org/viewvc?view=rev&rev=506880
Log:
Test how well the ri library bits work

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=506880&r1=506879&r2=506880
==============================================================================
--- 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
Mon Feb 12 22:14:19 2007
@@ -23,6 +23,8 @@
 
 package gbuild.config.projects.Geronimo_CTS
 
+import gbuild.system.library.LibraryManager
+
 import gbuild.system.commands.MavenCommand
 import gbuild.system.commands.ExecCommand
 
@@ -192,8 +194,18 @@
     }
     
     def runtests = {
-        def exec = new ExecCommand(context)
+        def targetDir = new File('target').canonicalFile
         
+        // Fetch the required libraries
+        // def tckLib = LibraryManager.getLibrary('https://gbuild.org/repos/libraries', 'j2ee14-tck',
'1.4.1b')
+        def riLib = LibraryManager.getLibrary('https://gbuild.org/repos/libraries', 'j2ee14-ri',
'1.4.1-b05')
+        
+        // Need to make a copy of the TCK and RI for each iteration to prevent unwanted side-effects
+        // tckLib = tckLib.copy(new File(targetDir, 'tck'))
+        riLib = riLib.copy(new File(targetDir, 'ri'))
+        
+        // Setup and execute runtests
+        def exec = new ExecCommand(context)
         exec.executable = 'project/tck-testsuite/runtests'
         
         def args = []
@@ -242,7 +254,6 @@
         args << params.require('tests')
         
         // Before we execute, save the parameters used to execute runtests
-        def targetDir = new File('target').canonicalFile
         ant.mkdir(dir: targetDir)
         params.store("$targetDir/runtests.properties")
         



Mime
View raw message