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 02:10:33 UTC
svn commit: r500720 - in
/geronimo/sandbox/build-support/library/trunk/buildlibrary/tck:
CollectTckRuntime.groovy CollectTckRuntimeArtifacts.groovy
Author: jdillon
Date: Sat Jan 27 17:10:32 2007
New Revision: 500720
URL: http://svn.apache.org/viewvc?view=rev&rev=500720
Log:
Need to collect everything, not just the artifacts
Added:
geronimo/sandbox/build-support/library/trunk/buildlibrary/tck/CollectTckRuntime.groovy
- copied, changed from r500718, geronimo/sandbox/build-support/library/trunk/buildlibrary/tck/CollectTckRuntimeArtifacts.groovy
Removed:
geronimo/sandbox/build-support/library/trunk/buildlibrary/tck/CollectTckRuntimeArtifacts.groovy
Copied: geronimo/sandbox/build-support/library/trunk/buildlibrary/tck/CollectTckRuntime.groovy (from r500718, geronimo/sandbox/build-support/library/trunk/buildlibrary/tck/CollectTckRuntimeArtifacts.groovy)
URL: http://svn.apache.org/viewvc/geronimo/sandbox/build-support/library/trunk/buildlibrary/tck/CollectTckRuntime.groovy?view=diff&rev=500720&p1=geronimo/sandbox/build-support/library/trunk/buildlibrary/tck/CollectTckRuntimeArtifacts.groovy&r1=500718&p2=geronimo/sandbox/build-support/library/trunk/buildlibrary/tck/CollectTckRuntime.groovy&r2=500720
==============================================================================
--- geronimo/sandbox/build-support/library/trunk/buildlibrary/tck/CollectTckRuntimeArtifacts.groovy (original)
+++ geronimo/sandbox/build-support/library/trunk/buildlibrary/tck/CollectTckRuntime.groovy Sat Jan 27 17:10:32 2007
@@ -26,21 +26,34 @@
import buildharness.commands.CommandSupport
/**
- * Creates a repository which only includes the required artifacts to execute the TCK Testsuite.
+ * Collects all files required to execute the TCK Testsuite.
*/
-class CollectTckRuntimeArtifacts
+class CollectTckRuntime
extends CommandSupport
{
def execute() {
- def sourceDir = context.resolveFile('repository')
+ def sourceDir = context.resolveFile('.')
println "Using source dir: ${sourceDir}"
- def targetDir = context.resolveFile('target/repository')
+ def targetDir = context.resolveFile('target/runtime')
println "Using target dir: ${targetDir}"
+ // Collect the harness
ant.mkdir(dir: targetDir)
ant.copy(todir: targetDir) {
fileset(dir: sourceDir) {
+ include(name: 'harness.xml')
+ include(name: 'bin/**')
+ include(name: 'lib/**')
+ include(name: 'tools/**')
+ // Do not include library/**
+ }
+ }
+
+ // Collect the repository
+ ant.mkdir(dir: "${targetDir}/repository")
+ ant.copy(todir: "${targetDir}/repository") {
+ fileset(dir: "${sourceDir}/repository") {
include(name: 'axis/**')
include(name: 'velocity/**')
include(name: 'oro/**')