Return-Path: Delivered-To: apmail-geronimo-scm-archive@www.apache.org Received: (qmail 9898 invoked from network); 31 May 2007 03:11:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 31 May 2007 03:11:20 -0000 Received: (qmail 93463 invoked by uid 500); 31 May 2007 03:11:24 -0000 Delivered-To: apmail-geronimo-scm-archive@geronimo.apache.org Received: (qmail 93443 invoked by uid 500); 31 May 2007 03:11:24 -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 93432 invoked by uid 99); 31 May 2007 03:11:24 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 May 2007 20:11:24 -0700 X-ASF-Spam-Status: No, hits=-99.5 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; Wed, 30 May 2007 20:11:19 -0700 Received: by eris.apache.org (Postfix, from userid 65534) id 763DA1A981A; Wed, 30 May 2007 20:10:59 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r543031 - /geronimo/sandbox/build-support/harness/trunk/src/main/resources/harness.xml Date: Thu, 31 May 2007 03:10:59 -0000 To: scm@geronimo.apache.org From: jdillon@apache.org X-Mailer: svnmailer-1.1.0 Message-Id: <20070531031059.763DA1A981A@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: jdillon Date: Wed May 30 20:10:58 2007 New Revision: 543031 URL: http://svn.apache.org/viewvc?view=rev&rev=543031 Log: Use codestation to get the bootstrap library muck Modified: geronimo/sandbox/build-support/harness/trunk/src/main/resources/harness.xml Modified: geronimo/sandbox/build-support/harness/trunk/src/main/resources/harness.xml URL: http://svn.apache.org/viewvc/geronimo/sandbox/build-support/harness/trunk/src/main/resources/harness.xml?view=diff&rev=543031&r1=543030&r2=543031 ============================================================================== --- geronimo/sandbox/build-support/harness/trunk/src/main/resources/harness.xml (original) +++ geronimo/sandbox/build-support/harness/trunk/src/main/resources/harness.xml Wed May 30 20:10:58 2007 @@ -24,31 +24,7 @@ - - - - - - - - Fetching library @{name} version @{version} ... - - - - - - - - - - - - - @@ -61,13 +37,21 @@ - - - - - - - + + import com.urbancode.codestation2.client.CodestationClient + + def baseDir = new File("${library.basedir}") + + def client = new CodestationClient('https://gbuild.org:9443', true) + client.debug = true + client.workingDir = baseDir.parentFile.canonicalPath + + def doc = client.projectLookup('Build Library', 'build', '1*') + def profileId = client.extractProfileId(doc) + def buildLifeId = client.extractBuildlifeId(doc) + + client.retrieveArtifacts(projectName, profileId, null, buildLifeId, setName, baseDir.name) +