Return-Path: Delivered-To: apmail-geronimo-scm-archive@www.apache.org Received: (qmail 16144 invoked from network); 13 Feb 2007 06:14:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 13 Feb 2007 06:14:40 -0000 Received: (qmail 83783 invoked by uid 500); 13 Feb 2007 06:14:48 -0000 Delivered-To: apmail-geronimo-scm-archive@geronimo.apache.org Received: (qmail 83648 invoked by uid 500); 13 Feb 2007 06:14:48 -0000 Mailing-List: contact scm-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list scm@geronimo.apache.org Received: (qmail 83636 invoked by uid 99); 13 Feb 2007 06:14:48 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Feb 2007 22:14:48 -0800 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO eris.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Feb 2007 22:14:40 -0800 Received: by eris.apache.org (Postfix, from userid 65534) id DF9421A981A; Mon, 12 Feb 2007 22:14:19 -0800 (PST) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit 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 -0000 To: scm@geronimo.apache.org From: jdillon@apache.org X-Mailer: svnmailer-1.1.0 Message-Id: <20070213061419.DF9421A981A@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org 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")