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/01/28 01:52:33 UTC
svn commit: r500714 - in
/geronimo/sandbox/build-support/library/trunk/buildlibrary: ./ tck/
tck/CollectTckRuntimeArtifacts.groovy
Author: jdillon
Date: Sat Jan 27 16:52:33 2007
New Revision: 500714
URL: http://svn.apache.org/viewvc?view=rev&rev=500714
Log:
Add script to create a repository which only includes artifacts needed to execute the TCK testsuite
Added:
geronimo/sandbox/build-support/library/trunk/buildlibrary/
geronimo/sandbox/build-support/library/trunk/buildlibrary/tck/
geronimo/sandbox/build-support/library/trunk/buildlibrary/tck/CollectTckRuntimeArtifacts.groovy (with props)
Added: geronimo/sandbox/build-support/library/trunk/buildlibrary/tck/CollectTckRuntimeArtifacts.groovy
URL: http://svn.apache.org/viewvc/geronimo/sandbox/build-support/library/trunk/buildlibrary/tck/CollectTckRuntimeArtifacts.groovy?view=auto&rev=500714
==============================================================================
--- geronimo/sandbox/build-support/library/trunk/buildlibrary/tck/CollectTckRuntimeArtifacts.groovy (added)
+++ geronimo/sandbox/build-support/library/trunk/buildlibrary/tck/CollectTckRuntimeArtifacts.groovy Sat Jan 27 16:52:33 2007
@@ -0,0 +1,100 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+//
+// $Id$
+//
+
+package buildlibrary.tck
+
+/**
+ * Creates a repository which only includes the required artifacts to execute the TCK Testsuite.
+ */
+class CollectTckRuntimeArtifacts
+{
+ def execute() {
+ def sourceDir = context.resolveFile('repository')
+ println "Using source dir: ${sourceDir}"
+
+ def targetDir = context.resolveFile('target/repository')
+ println "Using target dir: ${targetDir}"
+
+ ant.mkdir(dir: targetDir)
+ ant.copy(todir: targetDir) {
+ fileset(dir: sourceDir) {
+ include(name: 'axis/**')
+ include(name: 'velocity/**')
+ include(name: 'oro/**')
+ include(name: 'mx4j/**')
+ include(name: 'commons-logging/**')
+ include(name: 'plexus/**')
+ include(name: 'ognl/**')
+ include(name: 'commons-lang/**')
+ include(name: 'stax/**')
+ include(name: 'regexp/**')
+ include(name: 'ant/**')
+ include(name: 'cglib/**')
+ include(name: 'activeio/**')
+ include(name: 'logkit/**')
+ include(name: 'backport-util-concurrent/**')
+ include(name: 'xpp3/**')
+ include(name: 'classworlds/**')
+ include(name: 'log4j/**')
+ include(name: 'javax/**')
+ include(name: 'commons-discovery/**')
+ include(name: 'xstream/**')
+ include(name: 'junit/**')
+ include(name: 'jline/**')
+ include(name: 'commons-jexl/**')
+ include(name: 'avalon-framework/**')
+ include(name: 'org/objectweb/howl/**')
+ include(name: 'org/codehaus/plexus/**')
+ include(name: 'org/apache/geronimo/cts/**')
+ include(name: 'org/apache/geronimo/plugins/**')
+ include(name: 'org/apache/geronimo/geronimo/**')
+ include(name: 'org/apache/geronimo/specs/**')
+ include(name: 'org/apache/geronimo/genesis/**')
+ include(name: 'org/apache/geronimo/modules/geronimo-j2ee/**')
+ include(name: 'org/apache/geronimo/modules/geronimo-activemq-gbean/**')
+ include(name: 'org/apache/geronimo/modules/geronimo-naming/**')
+ include(name: 'org/apache/geronimo/modules/geronimo-management/**')
+ include(name: 'org/apache/geronimo/modules/geronimo-transaction/**')
+ include(name: 'org/apache/geronimo/modules/geronimo-security/**')
+ include(name: 'org/apache/geronimo/modules/geronimo-kernel/**')
+ include(name: 'org/apache/geronimo/modules/geronimo-activemq-gbean-management/**')
+ include(name: 'org/apache/geronimo/modules/geronimo-connector/**')
+ include(name: 'org/apache/geronimo/modules/geronimo-system/**')
+ include(name: 'org/apache/geronimo/modules/geronimo-common/**')
+ include(name: 'org/apache/geronimo/modules/geronimo-util/**')
+ include(name: 'org/apache/geronimo/modules/geronimo-deploy-jsr88/**')
+ include(name: 'org/apache/geronimo/modules/geronimo-deployment/**')
+ include(name: 'org/apache/geronimo/modules/geronimo-interceptor/**')
+ include(name: 'org/apache/geronimo/modules/geronimo-core/**')
+ include(name: 'org/apache/geronimo/modules/modules/**')
+ include(name: 'org/apache/activemq/**')
+ include(name: 'org/apache/maven/**')
+ include(name: 'org/apache/xbean/**')
+ include(name: 'org/apache/apache/**')
+ include(name: 'groovy/**')
+ include(name: 'com/sun/j2eetck/**')
+ include(name: 'com/jcraft/jsch/**')
+ }
+ }
+ }
+}
Propchange: geronimo/sandbox/build-support/library/trunk/buildlibrary/tck/CollectTckRuntimeArtifacts.groovy
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: geronimo/sandbox/build-support/library/trunk/buildlibrary/tck/CollectTckRuntimeArtifacts.groovy
------------------------------------------------------------------------------
svn:keywords = Date Author Id Revision HeadURL
Propchange: geronimo/sandbox/build-support/library/trunk/buildlibrary/tck/CollectTckRuntimeArtifacts.groovy
------------------------------------------------------------------------------
svn:mime-type = text/plain