geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ga...@apache.org
Subject svn commit: r966421 - in /geronimo/tck/branches/3.0: ./ jaxb-tck-runner/ jaxb-tck-runner/src/ jaxb-tck-runner/src/test/ jaxb-tck-runner/src/test/resources/ jboss-test-harness-geronimo/ jboss-test-harness-geronimo/src/ jboss-test-harness-geronimo/src/ma...
Date Wed, 21 Jul 2010 21:12:28 GMT
Author: gawor
Date: Wed Jul 21 21:12:27 2010
New Revision: 966421

URL: http://svn.apache.org/viewvc?rev=966421&view=rev
Log:
move tck runners from private location to public location

Added:
    geronimo/tck/branches/3.0/jaxb-tck-runner/
    geronimo/tck/branches/3.0/jaxb-tck-runner/pom.xml   (with props)
    geronimo/tck/branches/3.0/jaxb-tck-runner/run.sh   (with props)
    geronimo/tck/branches/3.0/jaxb-tck-runner/src/
    geronimo/tck/branches/3.0/jaxb-tck-runner/src/test/
    geronimo/tck/branches/3.0/jaxb-tck-runner/src/test/resources/
    geronimo/tck/branches/3.0/jaxb-tck-runner/src/test/resources/jaxb.jti   (with props)
    geronimo/tck/branches/3.0/jboss-test-harness-geronimo/
    geronimo/tck/branches/3.0/jboss-test-harness-geronimo/pom.xml   (with props)
    geronimo/tck/branches/3.0/jboss-test-harness-geronimo/src/
    geronimo/tck/branches/3.0/jboss-test-harness-geronimo/src/main/
    geronimo/tck/branches/3.0/jboss-test-harness-geronimo/src/main/java/
    geronimo/tck/branches/3.0/jboss-test-harness-geronimo/src/main/java/org/
    geronimo/tck/branches/3.0/jboss-test-harness-geronimo/src/main/java/org/apache/
    geronimo/tck/branches/3.0/jboss-test-harness-geronimo/src/main/java/org/apache/geronimo/
    geronimo/tck/branches/3.0/jboss-test-harness-geronimo/src/main/java/org/apache/geronimo/testharness/
    geronimo/tck/branches/3.0/jboss-test-harness-geronimo/src/main/java/org/apache/geronimo/testharness/GeronimoConnector.java   (with props)
    geronimo/tck/branches/3.0/jboss-test-harness-geronimo/src/main/java/org/apache/geronimo/testharness/ProcessLauncher.java   (with props)
    geronimo/tck/branches/3.0/jboss-test-harness-geronimo/src/main/resources/
    geronimo/tck/branches/3.0/jboss-test-harness-geronimo/src/main/resources/META-INF/
    geronimo/tck/branches/3.0/jboss-test-harness-geronimo/src/main/resources/META-INF/jboss-test-harness.properties   (with props)
    geronimo/tck/branches/3.0/jcdi-tck-runner/
    geronimo/tck/branches/3.0/jcdi-tck-runner/README.TXT   (with props)
    geronimo/tck/branches/3.0/jcdi-tck-runner/pom.xml   (with props)
    geronimo/tck/branches/3.0/jcdi-tck-runner/src/
    geronimo/tck/branches/3.0/jcdi-tck-runner/src/main/
    geronimo/tck/branches/3.0/jcdi-tck-runner/src/main/resources/
    geronimo/tck/branches/3.0/jcdi-tck-runner/src/main/resources/META-INF/
    geronimo/tck/branches/3.0/jcdi-tck-runner/src/main/resources/META-INF/jboss-test-harness.properties   (with props)
    geronimo/tck/branches/3.0/jcdi-tck-runner/src/test/
    geronimo/tck/branches/3.0/jcdi-tck-runner/src/test/resources/
    geronimo/tck/branches/3.0/jcdi-tck-runner/src/test/resources/tck-tests.xml   (with props)
    geronimo/tck/branches/3.0/pom.xml   (with props)
    geronimo/tck/branches/3.0/stax-tck-runner/
    geronimo/tck/branches/3.0/stax-tck-runner/pom.xml   (with props)
    geronimo/tck/branches/3.0/stax-tck-runner/run.sh   (with props)
    geronimo/tck/branches/3.0/stax-tck-runner/src/
    geronimo/tck/branches/3.0/stax-tck-runner/src/test/
    geronimo/tck/branches/3.0/stax-tck-runner/src/test/resources/
    geronimo/tck/branches/3.0/stax-tck-runner/src/test/resources/stax.jti   (with props)
    geronimo/tck/branches/3.0/validator-tck-runner/
    geronimo/tck/branches/3.0/validator-tck-runner/README.TXT   (with props)
    geronimo/tck/branches/3.0/validator-tck-runner/pom.xml   (with props)
    geronimo/tck/branches/3.0/validator-tck-runner/src/
    geronimo/tck/branches/3.0/validator-tck-runner/src/main/
    geronimo/tck/branches/3.0/validator-tck-runner/src/main/resources/
    geronimo/tck/branches/3.0/validator-tck-runner/src/main/resources/META-INF/
    geronimo/tck/branches/3.0/validator-tck-runner/src/main/resources/META-INF/jboss-test-harness.properties   (with props)

Added: geronimo/tck/branches/3.0/jaxb-tck-runner/pom.xml
URL: http://svn.apache.org/viewvc/geronimo/tck/branches/3.0/jaxb-tck-runner/pom.xml?rev=966421&view=auto
==============================================================================
--- geronimo/tck/branches/3.0/jaxb-tck-runner/pom.xml (added)
+++ geronimo/tck/branches/3.0/jaxb-tck-runner/pom.xml Wed Jul 21 21:12:27 2010
@@ -0,0 +1,113 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+    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.
+-->
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+
+    <modelVersion>4.0.0</modelVersion>
+
+    <parent>
+        <groupId>org.apache.geronimo.tck</groupId>
+        <artifactId>geronimo-tck</artifactId>
+        <version>1.0-SNAPSHOT</version>
+    </parent>
+
+    <artifactId>jaxb-tck-runner</artifactId>
+    <name>JAXB TCK Runner</name>
+
+    <dependencies>
+        <dependency>
+            <groupId>org.apache.geronimo.specs</groupId>
+            <artifactId>geronimo-activation_1.1_spec</artifactId>
+        </dependency>
+
+        <dependency>
+            <groupId>org.apache.geronimo.specs</groupId>
+            <artifactId>geronimo-jaxb_2.2_spec</artifactId>
+        </dependency>
+
+        <dependency>
+            <groupId>org.apache.geronimo.specs</groupId>
+            <artifactId>geronimo-stax-api_1.2_spec</artifactId>
+        </dependency>
+
+        <dependency>
+            <groupId>org.apache.geronimo.bundles</groupId>
+            <artifactId>jaxb-impl</artifactId>
+        </dependency>
+
+        <dependency>
+            <groupId>com.sun.xml.bind</groupId>
+            <artifactId>jaxb-xjc</artifactId>
+        </dependency>
+    </dependencies>
+
+    <build>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-dependency-plugin</artifactId>
+                <executions>
+                    <execution>
+                        <id>copy</id>
+                        <phase>generate-test-sources</phase>
+                        <goals>
+                            <goal>copy</goal>
+                        </goals>
+                        <configuration>
+                            <stripVersion>false</stripVersion>
+                            <artifactItems>
+                                <artifactItem>
+                                    <groupId>org.apache.geronimo.specs</groupId>
+                                    <artifactId>geronimo-activation_1.1_spec</artifactId>
+                                    <overWrite>true</overWrite>
+                                    <outputDirectory>${project.build.directory}/dependency/endorsed</outputDirectory>
+                                </artifactItem>
+                                <artifactItem>
+                                    <groupId>org.apache.geronimo.specs</groupId>
+                                    <artifactId>geronimo-stax-api_1.2_spec</artifactId>
+                                    <overWrite>true</overWrite>
+                                    <outputDirectory>${project.build.directory}/dependency/endorsed</outputDirectory>
+                                </artifactItem>
+                                <artifactItem>
+                                    <groupId>org.apache.geronimo.specs</groupId>
+                                    <artifactId>geronimo-jaxb_2.2_spec</artifactId>
+                                    <overWrite>true</overWrite>
+                                    <outputDirectory>${project.build.directory}/dependency/endorsed</outputDirectory>
+                                </artifactItem>
+                                <artifactItem>
+                                    <groupId>org.apache.geronimo.bundles</groupId>
+                                    <artifactId>jaxb-impl</artifactId>
+                                    <overWrite>true</overWrite>
+                                    <outputDirectory>${project.build.directory}/dependency/lib</outputDirectory>
+                                </artifactItem>
+                                <artifactItem>
+                                    <groupId>com.sun.xml.bind</groupId>
+                                    <artifactId>jaxb-xjc</artifactId>
+                                    <overWrite>true</overWrite>
+                                    <outputDirectory>${project.build.directory}/dependency/lib</outputDirectory>
+                                </artifactItem>
+                            </artifactItems>
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>
+        </plugins>
+    </build>
+
+</project>

Propchange: geronimo/tck/branches/3.0/jaxb-tck-runner/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/tck/branches/3.0/jaxb-tck-runner/pom.xml
------------------------------------------------------------------------------
    svn:executable = *

Propchange: geronimo/tck/branches/3.0/jaxb-tck-runner/pom.xml
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/tck/branches/3.0/jaxb-tck-runner/pom.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: geronimo/tck/branches/3.0/jaxb-tck-runner/run.sh
URL: http://svn.apache.org/viewvc/geronimo/tck/branches/3.0/jaxb-tck-runner/run.sh?rev=966421&view=auto
==============================================================================
--- geronimo/tck/branches/3.0/jaxb-tck-runner/run.sh (added)
+++ geronimo/tck/branches/3.0/jaxb-tck-runner/run.sh Wed Jul 21 21:12:27 2010
@@ -0,0 +1,62 @@
+#!/bin/sh
+
+if [ -z "$JAXB_HOME" ] ; then
+  echo "JAXB_HOME not set"
+  exit 1
+fi
+
+AGENT_PID=
+
+control_c() {
+  stopAgent
+}
+
+init() {
+
+  mvn install -q -DskipTests=true
+
+}
+
+startAgent() {
+  echo "Starting Test Agent"
+
+  JAXB_CLASSPATH=
+  for file in ./target/dependency/lib/*.jar
+  do
+    if [ -z "$JAXB_CLASSPATH" ]; then
+      JAXB_CLASSPATH="$file"
+    else
+      JAXB_CLASSPATH="$JAXB_CLASSPATH:$file"
+    fi
+  done
+
+  java -XX:MaxPermSize=160m -Djava.endorsed.dirs=./target/dependency/endorsed -cp $JAXB_HOME/lib/javatest.jar:$JAXB_HOME/lib/jtlegacy.jar:$JAXB_HOME/classes:$JAXB_CLASSPATH:$JAVA_HOME/lib/tools.jar -Djava.security.policy=$JAXB_HOME/lib/tck.policy com.sun.javatest.agent.AgentMain -activeHost localhost &
+  AGENT_PID=$!
+ 
+  sleep 5
+
+}
+
+runTests() {
+  TEST_ID=test-$$
+
+  echo "Running Tests. Test directory is: $TEST_ID"
+
+  java -jar $JAXB_HOME/lib/javatest.jar -config ./target/test-classes/jaxb.jti -workdir -create ./target/$TEST_ID -testSuite $JAXB_HOME -set jck.env.jaxb.testExecute.cmdAsFile $JAVA_HOME/bin/java -startAgentPool -excludeList $JAXB_HOME/lib/jaxb_tck22.jtx -verbose -runtests -writereport ./target/$TEST_ID/report
+
+}
+
+stopAgent() {
+  echo "Stopping Agent"
+  
+  kill $AGENT_PID
+
+}
+
+# trap keyboard interrupt (control-c)
+trap control_c 2
+
+init
+startAgent
+runTests
+stopAgent

Propchange: geronimo/tck/branches/3.0/jaxb-tck-runner/run.sh
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/tck/branches/3.0/jaxb-tck-runner/run.sh
------------------------------------------------------------------------------
    svn:executable = *

Propchange: geronimo/tck/branches/3.0/jaxb-tck-runner/run.sh
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Added: geronimo/tck/branches/3.0/jaxb-tck-runner/src/test/resources/jaxb.jti
URL: http://svn.apache.org/viewvc/geronimo/tck/branches/3.0/jaxb-tck-runner/src/test/resources/jaxb.jti?rev=966421&view=auto
==============================================================================
--- geronimo/tck/branches/3.0/jaxb-tck-runner/src/test/resources/jaxb.jti (added)
+++ geronimo/tck/branches/3.0/jaxb-tck-runner/src/test/resources/jaxb.jti Wed Jul 21 21:12:27 2010
@@ -0,0 +1,35 @@
+#JavaTest Configuration Interview
+#Mon Jun 21 13:38:54 EDT 2010
+CHECKSUM=5261d72e00bf0b85
+INTERVIEW=com.sun.jaxb_tck.interview.JAXBTCKParameters
+LOCALE=en_US
+QUESTION=jck.epilog
+TESTSUITE=/media/d/dev/tck/JAXB-TCK-2.2
+WORKDIR=/media/d/dev/tck/JAXB-TCK-2.2/foo
+jck.concurrency.concurrency=1
+jck.env.description=same jvm
+jck.env.envName=same_jvm
+jck.env.jaxb.agent.agentPassivePort=
+jck.env.jaxb.agent.agentType=active
+jck.env.jaxb.schemagen.run.schemagenWrapperClass=com.sun.jaxb_tck.lib.SchemaGen
+jck.env.jaxb.schemagen.skipJ2XOptional=Yes
+jck.env.jaxb.testExecute.cmdAsFile=/usr/lib/jvm/java-6-sun/bin/java
+jck.env.jaxb.testExecute.otherEnvVars=
+jck.env.jaxb.testExecute.otherOpts=
+jck.env.jaxb.xsd_compiler.defaultOperationMode=Yes
+jck.env.jaxb.xsd_compiler.run.compilerWrapperClass=com.sun.jaxb_tck.lib.SchemaCompiler
+jck.env.jaxb.xsd_compiler.skipValidationOptional=Yes
+jck.env.testPlatform.local=Yes
+jck.env.testPlatform.multiJVM=No
+jck.excludeList.latestAutoCheck=No
+jck.excludeList.latestAutoCheckInterval=7
+jck.excludeList.latestAutoCheckMode=everyXDays
+jck.excludeList.needExcludeList=No
+jck.keywords.keywords.mode=expr
+jck.keywords.needKeywords=No
+jck.priorStatus.needStatus=No
+jck.priorStatus.status=
+jck.tests.needTests=No
+jck.tests.tests=
+jck.tests.treeOrFile=tree
+jck.timeout.timeout=1

Propchange: geronimo/tck/branches/3.0/jaxb-tck-runner/src/test/resources/jaxb.jti
------------------------------------------------------------------------------
    svn:executable = *

Added: geronimo/tck/branches/3.0/jboss-test-harness-geronimo/pom.xml
URL: http://svn.apache.org/viewvc/geronimo/tck/branches/3.0/jboss-test-harness-geronimo/pom.xml?rev=966421&view=auto
==============================================================================
--- geronimo/tck/branches/3.0/jboss-test-harness-geronimo/pom.xml (added)
+++ geronimo/tck/branches/3.0/jboss-test-harness-geronimo/pom.xml Wed Jul 21 21:12:27 2010
@@ -0,0 +1,54 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+    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.
+-->
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+
+    <modelVersion>4.0.0</modelVersion>
+
+    <parent>
+        <groupId>org.apache.geronimo.tck</groupId>
+        <artifactId>geronimo-tck</artifactId>
+        <version>1.0-SNAPSHOT</version>
+    </parent>
+
+    <artifactId>jboss-test-harness-geronimo</artifactId>
+    <name>JBoss Test Harness deployment for Geronimo</name>
+    <description>Implements the JBoss Test Harness deployment SPI for Geronimo 3.0</description>
+ 
+    <dependencies>
+        <dependency>
+            <groupId>org.jboss.test-harness</groupId>
+            <artifactId>jboss-test-harness-api</artifactId>
+            <version>1.0.0</version>
+        </dependency>
+
+        <dependency>
+            <groupId>org.apache.geronimo.framework</groupId>
+            <artifactId>geronimo-deploy-jsr88</artifactId>
+            <version>${geronimoVersion}</version>
+        </dependency>
+
+        <dependency>
+            <groupId>org.osgi</groupId>
+            <artifactId>org.osgi.core</artifactId>
+        </dependency>
+
+    </dependencies>
+
+</project>

Propchange: geronimo/tck/branches/3.0/jboss-test-harness-geronimo/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/tck/branches/3.0/jboss-test-harness-geronimo/pom.xml
------------------------------------------------------------------------------
    svn:executable = *

Propchange: geronimo/tck/branches/3.0/jboss-test-harness-geronimo/pom.xml
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/tck/branches/3.0/jboss-test-harness-geronimo/pom.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: geronimo/tck/branches/3.0/jboss-test-harness-geronimo/src/main/java/org/apache/geronimo/testharness/GeronimoConnector.java
URL: http://svn.apache.org/viewvc/geronimo/tck/branches/3.0/jboss-test-harness-geronimo/src/main/java/org/apache/geronimo/testharness/GeronimoConnector.java?rev=966421&view=auto
==============================================================================
--- geronimo/tck/branches/3.0/jboss-test-harness-geronimo/src/main/java/org/apache/geronimo/testharness/GeronimoConnector.java (added)
+++ geronimo/tck/branches/3.0/jboss-test-harness-geronimo/src/main/java/org/apache/geronimo/testharness/GeronimoConnector.java Wed Jul 21 21:12:27 2010
@@ -0,0 +1,298 @@
+/**
+ *  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.
+ */
+
+package org.apache.geronimo.testharness;
+
+import java.io.File;
+import java.io.FileOutputStream;
+import java.io.IOException;
+import java.io.InputStream;
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.Iterator;
+import java.util.List;
+import java.util.Map;
+import java.util.Set;
+
+import javax.enterprise.deploy.shared.factories.DeploymentFactoryManager;
+import javax.enterprise.deploy.spi.DeploymentManager;
+import javax.enterprise.deploy.spi.Target;
+import javax.enterprise.deploy.spi.TargetModuleID;
+import javax.enterprise.deploy.spi.exceptions.DeploymentManagerCreationException;
+import javax.enterprise.deploy.spi.status.DeploymentStatus;
+import javax.enterprise.deploy.spi.status.ProgressEvent;
+import javax.enterprise.deploy.spi.status.ProgressListener;
+import javax.enterprise.deploy.spi.status.ProgressObject;
+import javax.management.MBeanServerConnection;
+import javax.management.remote.JMXConnector;
+
+import org.apache.geronimo.deployment.plugin.factories.DeploymentFactoryImpl;
+import org.apache.geronimo.deployment.plugin.jmx.RemoteDeploymentManager;
+import org.apache.geronimo.gbean.AbstractName;
+import org.apache.geronimo.gbean.AbstractNameQuery;
+import org.apache.geronimo.kernel.Kernel;
+import org.apache.geronimo.kernel.config.PersistentConfigurationList;
+import org.apache.geronimo.kernel.util.FileUtils;
+import org.apache.geronimo.kernel.util.IOUtils;
+import org.jboss.testharness.api.DeploymentException;
+import org.jboss.testharness.spi.Containers;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+
+public class GeronimoConnector implements Containers {
+
+    private static final Logger LOG = LoggerFactory.getLogger(GeronimoConnector.class);
+    
+    private static final String URI_PREFIX = "deployer:geronimo:jmx";
+    
+    private String hostname = "localhost";
+    private int port = 1099;
+    private String username = "system";
+    private String password = "manager";
+    
+    private DeploymentManager deploymentManager;
+    private DeploymentException deploymentException;
+    private File tmpDir;
+    private ServerProcessLauncher launcher;
+    
+    private Map<String, TargetModuleID[]> moduleMap = new HashMap<String, TargetModuleID[]>();
+        
+    public GeronimoConnector() {
+        // Register the Geronimo factory
+        DeploymentFactoryManager manager = DeploymentFactoryManager.getInstance();
+        manager.registerDeploymentFactory(new DeploymentFactoryImpl());
+    }
+    
+    public void cleanup() throws IOException {
+        if (deploymentManager != null) {
+            deploymentManager.release();
+            deploymentManager = null;
+        }
+        
+        if (launcher != null) {
+            // Only shutdown the server if we started it
+            LOG.info("Stopping server");
+            launcher.destroy();
+        }
+        
+        moduleMap.clear();
+        
+        if ("true".equalsIgnoreCase(System.getProperty("deleteArtifacts", "true"))) {
+            FileUtils.recursiveDelete(tmpDir);
+        }
+    }
+
+    public void setup() throws IOException {
+        if (!isServerRunning()) {
+            // start server
+            startServer();
+        } else {
+            LOG.info("Server is already running.");
+        }
+        
+        try {
+            initDeploymentManager();
+        } catch (DeploymentManagerCreationException e) {
+            throw new IOException("Error setting up deployment manager", e);
+        }
+        
+        tmpDir = FileUtils.createTempDir();
+        
+        LOG.info("Created temporary directory for deployment artifacts: {}", tmpDir);
+    }
+    
+    private void startServer() throws IOException {
+        String geronimoHome = System.getProperty("GERONIMO_HOME");
+        if (geronimoHome == null) {
+            throw new IOException("GERONIMO_HOME must be set");
+        }
+        
+        String javaOpts = System.getProperty("JAVA_OPTS", "");
+        // always enable assertion checking
+        javaOpts = "-ea " + javaOpts;
+        
+        String osName = System.getProperty("os.name");
+        
+        List<String> cmd = new ArrayList<String>();
+        if (osName.startsWith("Windows")) {
+            cmd.add("cmd.exe");
+            cmd.add("/C");
+            cmd.add("set JAVA_OPTS=" + javaOpts + " & cd /D " + geronimoHome + " & " + "bin\\geronimo.bat run -l");
+        } else {
+            cmd.add("sh");
+            cmd.add("-c");
+            cmd.add("cd " + geronimoHome + "; JAVA_OPTS=\"" + javaOpts + "\" ./bin/geronimo run -l");
+        }
+        
+        LOG.info("Starting server. Executing {} ", cmd);
+        
+        launcher = new ServerProcessLauncher(null, cmd);
+        launcher.start();
+    }
+        
+    protected void initDeploymentManager() throws DeploymentManagerCreationException {
+        if (deploymentManager == null) {
+            String uri = URI_PREFIX + "://" + hostname + ":" + port;
+            DeploymentFactoryManager factoryManager = DeploymentFactoryManager.getInstance();
+            deploymentManager = factoryManager.getDeploymentManager(uri, username, password);
+        }
+    }
+        
+    public boolean deploy(InputStream archive, String name) throws IOException {
+        
+        LOG.info("Deploying {}", name);
+        
+        Target[] targets = deploymentManager.getTargets();
+        if (null == targets) {
+            throw new IOException("No target to distribute to");
+        }
+        targets = new Target[] {targets[0]};
+        
+        File file = copy(archive, name);
+        
+        TargetModuleID[] moduleIDs = null;
+        ProgressObject progress = deploymentManager.distribute(targets, file, null);
+        DeploymentStatus status = waitFor(progress);
+        if (!status.isFailed()) {
+            moduleIDs = progress.getResultTargetModuleIDs();
+            progress = deploymentManager.start(moduleIDs);
+            status = waitFor(progress);
+        }
+        
+        if (status.isFailed()) {
+            deploymentException = new DeploymentException(name, status.getMessage());
+            // XXX: work-around for a problem in jboss-testharness
+            deploymentException.initCause(new DeploymentException(name, status.getMessage()));
+            return false;
+        } else {
+            moduleMap.put(name, moduleIDs);
+            deploymentException = null;
+            return true;
+        }        
+    }
+    
+    public DeploymentException getDeploymentException() {
+        return deploymentException;
+    }
+
+    public void undeploy(String name) throws IOException {
+        TargetModuleID[] moduleIDs = moduleMap.remove(name);
+        if (moduleIDs != null) {
+            LOG.info("Undeploying {}", name);
+            ProgressObject progress = deploymentManager.undeploy(moduleIDs);
+            DeploymentStatus status = waitFor(progress);
+            if (status.isFailed()) {
+                throw new IOException("Failed to undeploy module (" + status.getMessage() + "): " + name);
+            }
+        }
+    }
+
+    // *** Helper functions ***
+    
+    private File copy(InputStream in, String name) throws IOException {
+        File tmpFile = new File(tmpDir, name);
+        FileOutputStream out = new FileOutputStream(tmpFile);
+        try {
+            IOUtils.copy(in, out);
+        } finally {
+            IOUtils.close(out);
+            IOUtils.close(in);
+        }
+        return tmpFile;
+    }
+    
+    private DeploymentStatus waitFor(final ProgressObject progress) {
+        ProgressListener listener = new ProgressListener() {       
+            public void handleProgressEvent(final ProgressEvent event) {
+                DeploymentStatus status = event.getDeploymentStatus();
+                if (!status.isRunning()) {
+                    synchronized (progress) {
+                        progress.notify();
+                    }
+                }
+            }
+        };
+
+        progress.addProgressListener(listener);
+
+        synchronized (progress) {
+            while (progress.getDeploymentStatus().isRunning()) {
+                try {
+                    progress.wait();
+                } catch (InterruptedException e) {
+                    break;
+                }
+            }
+        }
+
+        return progress.getDeploymentStatus();
+    }
+       
+    public boolean isServerRunning() {
+        try {
+            initDeploymentManager();
+        } catch (DeploymentManagerCreationException e1) {
+            return false;
+        }
+        
+        JMXConnector connector = ((RemoteDeploymentManager) deploymentManager).getJMXConnector();
+        try {
+            MBeanServerConnection connection = connector.getMBeanServerConnection();
+        
+            AbstractNameQuery query = new AbstractNameQuery(PersistentConfigurationList.class.getName());        
+            Set gbeans = (Set) invoke(connection, "listGBeans", new Object[] { query });        
+            Iterator iter = gbeans.iterator();        
+            while (iter.hasNext()) {            
+                Object abstractName = iter.next();
+                AbstractName name = (AbstractName) abstractName;
+                Boolean started = (Boolean) invoke(connection, "getAttribute", new Object[] { name, "kernelFullyStarted"} );
+                if (started != null && !started.booleanValue()) {
+                    return false;
+                }
+            }
+        } catch (IOException e) {
+            return false;
+        } catch (Exception e) {
+            LOG.error("Unexpected exception", e);
+            return false;
+        }
+        
+        return true;
+    }
+    
+    private Object invoke(MBeanServerConnection connection, String operation, Object[] args) throws Exception {
+        String[] signature = new String[args.length];
+        for (int i=0; i<args.length; i++) {
+            signature[i] = args[i].getClass().getName();
+        }
+        return connection.invoke(Kernel.KERNEL, operation, args, signature);
+    }
+    
+    private class ServerProcessLauncher extends ProcessLauncher {
+
+        public ServerProcessLauncher(String directory, List<String> cmd) {
+            super(directory, cmd);
+        }
+
+        public boolean isServerRunning() {
+            return GeronimoConnector.this.isServerRunning();
+        }
+        
+    }
+}

Propchange: geronimo/tck/branches/3.0/jboss-test-harness-geronimo/src/main/java/org/apache/geronimo/testharness/GeronimoConnector.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/tck/branches/3.0/jboss-test-harness-geronimo/src/main/java/org/apache/geronimo/testharness/GeronimoConnector.java
------------------------------------------------------------------------------
    svn:executable = *

Propchange: geronimo/tck/branches/3.0/jboss-test-harness-geronimo/src/main/java/org/apache/geronimo/testharness/GeronimoConnector.java
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/tck/branches/3.0/jboss-test-harness-geronimo/src/main/java/org/apache/geronimo/testharness/GeronimoConnector.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: geronimo/tck/branches/3.0/jboss-test-harness-geronimo/src/main/java/org/apache/geronimo/testharness/ProcessLauncher.java
URL: http://svn.apache.org/viewvc/geronimo/tck/branches/3.0/jboss-test-harness-geronimo/src/main/java/org/apache/geronimo/testharness/ProcessLauncher.java?rev=966421&view=auto
==============================================================================
--- geronimo/tck/branches/3.0/jboss-test-harness-geronimo/src/main/java/org/apache/geronimo/testharness/ProcessLauncher.java (added)
+++ geronimo/tck/branches/3.0/jboss-test-harness-geronimo/src/main/java/org/apache/geronimo/testharness/ProcessLauncher.java Wed Jul 21 21:12:27 2010
@@ -0,0 +1,126 @@
+/**
+ *  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.
+ */
+
+package org.apache.geronimo.testharness;
+
+import java.io.File;
+import java.io.FilterOutputStream;
+import java.io.IOException;
+import java.io.InputStream;
+import java.io.OutputStream;
+import java.util.List;
+
+public abstract class ProcessLauncher {
+
+    private String directory;
+    private List<String> cmd;
+    private long timeout = 2* 60 * 1000;
+    private Process process;
+    
+    public ProcessLauncher(String directory, List<String> cmd) { 
+        this.directory = directory;
+        this.cmd = cmd;
+    }
+    
+    public void start() throws IOException {
+        ProcessBuilder builder = new ProcessBuilder(cmd);
+        builder.redirectErrorStream(true);
+        if (directory != null) {
+            builder.directory(new File(directory));
+        }
+
+        process = builder.start();
+        
+        OutputThread outputThread = new OutputThread(process.getInputStream(), new FilterOutputStream(System.out) {
+            public void close() {    
+                try { out.flush(); } catch (IOException e) {}
+            }
+        });
+        outputThread.start();
+        
+        long sleepTime = 0;
+        while (isProcessRunning() && sleepTime < timeout) {
+            if (isServerRunning()) {
+                return;
+            } else {
+                try {
+                    Thread.sleep(5 * 1000);
+                    sleepTime += 5 * 1000;
+                } catch (InterruptedException e) {
+                    return;
+                }
+            }
+        }
+        
+        if (isProcessRunning()) {
+            destroy();
+            throw new IOException("Could not verify if process is running");
+        } else {
+            throw new IOException("Process failed to start");
+        }
+    }
+    
+    private boolean isProcessRunning() {
+        try {
+            process.exitValue();
+            return false;
+        } catch (IllegalThreadStateException e) {
+            return true;
+        }
+    }
+    
+    public void destroy() {
+        if (process != null) {
+            process.destroy();
+        }
+    }
+    
+    public abstract boolean isServerRunning();
+    
+    private static class OutputThread extends Thread {
+
+        private InputStream in;
+        private OutputStream out;
+
+        public OutputThread(InputStream in, OutputStream out) {
+            this.in = in;
+            this.out = out;
+        }
+
+        public void run() {
+            try {
+                copyAll(this.in, this.out);
+            } catch (IOException e) {
+                // ignore
+            } finally {
+                try { this.out.close(); } catch (IOException ee) {}
+                try { this.in.close(); } catch (IOException ee) {}
+            }
+        }
+
+        private static void copyAll(InputStream in, OutputStream out) throws IOException {
+            byte[] buffer = new byte[4096];
+            int count;
+            while ((count = in.read(buffer)) > 0) {
+                out.write(buffer, 0, count);
+            }
+            out.flush();
+        }
+    }
+}

Propchange: geronimo/tck/branches/3.0/jboss-test-harness-geronimo/src/main/java/org/apache/geronimo/testharness/ProcessLauncher.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/tck/branches/3.0/jboss-test-harness-geronimo/src/main/java/org/apache/geronimo/testharness/ProcessLauncher.java
------------------------------------------------------------------------------
    svn:executable = *

Propchange: geronimo/tck/branches/3.0/jboss-test-harness-geronimo/src/main/java/org/apache/geronimo/testharness/ProcessLauncher.java
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/tck/branches/3.0/jboss-test-harness-geronimo/src/main/java/org/apache/geronimo/testharness/ProcessLauncher.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: geronimo/tck/branches/3.0/jboss-test-harness-geronimo/src/main/resources/META-INF/jboss-test-harness.properties
URL: http://svn.apache.org/viewvc/geronimo/tck/branches/3.0/jboss-test-harness-geronimo/src/main/resources/META-INF/jboss-test-harness.properties?rev=966421&view=auto
==============================================================================
--- geronimo/tck/branches/3.0/jboss-test-harness-geronimo/src/main/resources/META-INF/jboss-test-harness.properties (added)
+++ geronimo/tck/branches/3.0/jboss-test-harness-geronimo/src/main/resources/META-INF/jboss-test-harness.properties Wed Jul 21 21:12:27 2010
@@ -0,0 +1 @@
+org.jboss.testharness.spi.Containers=org.apache.geronimo.testharness.GeronimoConnector

Propchange: geronimo/tck/branches/3.0/jboss-test-harness-geronimo/src/main/resources/META-INF/jboss-test-harness.properties
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/tck/branches/3.0/jboss-test-harness-geronimo/src/main/resources/META-INF/jboss-test-harness.properties
------------------------------------------------------------------------------
    svn:executable = *

Propchange: geronimo/tck/branches/3.0/jboss-test-harness-geronimo/src/main/resources/META-INF/jboss-test-harness.properties
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/tck/branches/3.0/jboss-test-harness-geronimo/src/main/resources/META-INF/jboss-test-harness.properties
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: geronimo/tck/branches/3.0/jcdi-tck-runner/README.TXT
URL: http://svn.apache.org/viewvc/geronimo/tck/branches/3.0/jcdi-tck-runner/README.TXT?rev=966421&view=auto
==============================================================================
--- geronimo/tck/branches/3.0/jcdi-tck-runner/README.TXT (added)
+++ geronimo/tck/branches/3.0/jcdi-tck-runner/README.TXT Wed Jul 21 21:12:27 2010
@@ -0,0 +1,7 @@
+Running the TCK
+===============
+
+Execute:
+
+mvn test -Dincontainer -Dgeronimo.home=<Geronimo installation directory>
+

Propchange: geronimo/tck/branches/3.0/jcdi-tck-runner/README.TXT
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/tck/branches/3.0/jcdi-tck-runner/README.TXT
------------------------------------------------------------------------------
    svn:executable = *

Propchange: geronimo/tck/branches/3.0/jcdi-tck-runner/README.TXT
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/tck/branches/3.0/jcdi-tck-runner/README.TXT
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: geronimo/tck/branches/3.0/jcdi-tck-runner/pom.xml
URL: http://svn.apache.org/viewvc/geronimo/tck/branches/3.0/jcdi-tck-runner/pom.xml?rev=966421&view=auto
==============================================================================
--- geronimo/tck/branches/3.0/jcdi-tck-runner/pom.xml (added)
+++ geronimo/tck/branches/3.0/jcdi-tck-runner/pom.xml Wed Jul 21 21:12:27 2010
@@ -0,0 +1,264 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+    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.
+-->
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+
+    <modelVersion>4.0.0</modelVersion>
+
+    <parent>
+        <groupId>org.apache.geronimo.tck</groupId>
+        <artifactId>geronimo-tck</artifactId>
+        <version>1.0-SNAPSHOT</version>
+    </parent>
+
+    <artifactId>jcdi-tck-runner</artifactId>
+    <name>CDI TCK runner</name>
+    <description>Aggregates dependencies and run's the JSR-299 TCK</description>
+   
+    <dependencies>
+        <!-- tck -->
+        <dependency>
+            <groupId>org.jboss.jsr299.tck</groupId>
+            <artifactId>jsr299-tck-impl</artifactId>
+            <version>1.0.2.CR1</version>
+        </dependency>
+	
+        <!-- geronimo deployer -->	     
+        <dependency>
+            <groupId>org.apache.geronimo.cts</groupId>
+            <artifactId>jboss-test-harness-geronimo</artifactId>
+            <version>1.0-SNAPSHOT</version>
+        </dependency>
+ 
+        <dependency>
+            <groupId>org.apache.openwebbeans</groupId>
+            <artifactId>openwebbeans-porting</artifactId>
+            <version>1.0.0-SNAPSHOT</version>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.geronimo.specs</groupId>
+            <artifactId>geronimo-jcdi_1.0_spec</artifactId>
+        </dependency> 
+            
+        <!-- test dependencies -->
+        <dependency>
+            <groupId>org.testng</groupId>
+            <artifactId>testng</artifactId>
+            <classifier>jdk15</classifier>
+        </dependency>
+
+    </dependencies>
+
+    <properties>
+        <geronimo.home>/home/gawor/development/geronimo/trunk/assemblies/geronimo-tomcat7-javaee6/target/assembly</geronimo.home>
+        <remote.debug />
+    </properties>
+   
+   <build>
+      <plugins>
+         <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-dependency-plugin</artifactId>
+            <executions>
+               <execution>
+                  <id>copy</id>
+                  <phase>process-resources</phase>
+                  <goals>
+                     <goal>copy</goal>
+                  </goals>
+                  <configuration>
+                     <stripVersion>true</stripVersion>
+                     <artifactItems>
+                        <artifactItem>
+                           <groupId>org.jboss.jsr299.tck</groupId>
+                           <artifactId>jsr299-tck-impl</artifactId>
+                           <type>xml</type>
+                           <classifier>suite</classifier>
+                           <overWrite>true</overWrite>
+                        </artifactItem>
+<!--
+                        <artifactItem>
+                           <groupId>org.jboss.weld</groupId>
+                           <artifactId>weld-porting-package</artifactId>
+                           <overWrite>true</overWrite>
+                           <outputDirectory>${project.build.directory}/dependency/lib</outputDirectory>
+                        </artifactItem>
+                        <artifactItem>
+                           <groupId>org.jboss.weld</groupId>
+                           <artifactId>weld-core-test</artifactId>
+                           <overWrite>true</overWrite>
+                           <outputDirectory>${project.build.directory}/dependency/lib</outputDirectory>
+                        </artifactItem>
+                        <artifactItem>
+                           <groupId>org.glassfish.web</groupId>
+                           <artifactId>el-impl</artifactId>
+                           <overWrite>true</overWrite>
+                           <outputDirectory>${project.build.directory}/dependency/lib</outputDirectory>
+                        </artifactItem>
+-->
+                     </artifactItems>
+                  </configuration>
+               </execution>
+            </executions>
+         </plugin>
+         <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-surefire-plugin</artifactId>
+            <configuration>
+               <suiteXmlFiles>
+                  <suiteXmlFile>src/test/resources/tck-tests.xml</suiteXmlFile>
+               </suiteXmlFiles>
+               <argLine>-Xmx748m</argLine>
+               <forkMode>once</forkMode>
+            </configuration>
+         </plugin>
+         <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-surefire-report-plugin</artifactId>
+            <executions>
+               <execution>
+                  <id>generate-test-report</id>
+                  <phase>test</phase>
+                  <goals>
+                     <goal>report-only</goal>
+                  </goals>
+               </execution>
+            </executions>
+            <configuration>
+               <outputDirectory>${project.build.directory}/surefire-reports</outputDirectory>
+               <outputName>test-report</outputName>
+            </configuration>
+         </plugin>
+      </plugins>
+   </build>
+   
+   <profiles>
+      <profile>
+         <id>incontainer-debug</id>
+         <activation>
+            <property>
+               <name>incontainer-debug</name>
+            </property>
+         </activation>
+         <properties>
+            <remote.debug>-Xnoagent -Djava.compiler=NONE -Xdebug
+                          -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=5005
+            </remote.debug>
+         </properties>
+      </profile>
+      <profile>
+         <id>incontainer</id>
+         <activation>
+            <property>
+               <name>incontainer</name>
+            </property>
+         </activation>
+         <build>
+            <plugins>
+               <plugin>
+                  <groupId>org.apache.maven.plugins</groupId>
+                  <artifactId>maven-surefire-plugin</artifactId>
+                  <configuration>
+                     <suiteXmlFiles>
+                        <suiteXmlFile>src/test/resources/tck-tests.xml</suiteXmlFile>
+                     </suiteXmlFiles>
+                     <systemProperties>
+                        <property>
+                           <name>org.jboss.testharness.standalone</name>
+                           <value>false</value>
+                        </property>
+                        <property>
+                           <name>GERONIMO_HOME</name>
+                           <value>${geronimo.home}</value>
+                        </property>
+                        <property>
+                            <name>JAVA_OPTS</name>
+                            <value>-Xms128m -Xmx384m -XX:MaxPermSize=128m 
+                                   -Djline.terminal=jline.UnsupportedTerminal
+                                   -DXorg.apache.geronimo.deployment.LenientMFCP=true
+                                   ${remote.debug}
+                            </value>
+                        </property>
+                        <property>
+                           <name>org.jboss.testharness.container.forceRestart</name>
+                           <value>true</value>
+                        </property>
+                        <property>
+                           <name>org.jboss.testharness.runIntegrationTests</name>
+                           <value>true</value>
+                        </property>
+                        <property>
+                           <name>org.jboss.testharness.libraryDirectory</name>
+                           <value>target/dependency/lib</value>
+                        </property>
+                        <property>
+                           <name>org.jboss.testharness.outputDirectory</name>
+                           <value>target</value>
+                        </property>
+                     </systemProperties>
+                  </configuration>
+               </plugin>
+            </plugins>
+         </build>
+      </profile>
+      <profile>
+         <id>write-artifacts-to-disk</id>
+         <activation>
+            <property>
+               <name>dumpArtifacts</name>
+            </property>
+         </activation>
+         <build>
+            <plugins>
+               <plugin>
+                  <groupId>org.codehaus.mojo</groupId>
+                  <artifactId>exec-maven-plugin</artifactId>
+                  <executions>
+                     <execution>
+                        <id>generate-jsr-299-artifacts</id>
+                        <phase>generate-test-sources</phase> 
+                        <goals>
+                        <goal>java</goal>
+                        </goals>
+                     </execution>
+                  </executions>
+                  <configuration>
+                     <mainClass>org.jboss.testharness.api.TCK</mainClass>
+                     <systemProperties>
+                        <systemProperty>
+                           <key>dumpArtifacts</key>
+                           <value>true</value>
+                        </systemProperty>
+                        <systemProperty>
+                           <key>org.jboss.testharness.outputDirectory</key>
+                           <value>target/jsr299-artifacts</value>
+                        </systemProperty>
+                        <systemProperty>
+                           <key>org.jboss.testharness.libraryDirectory</key>
+                           <value>target/dependency/lib</value>
+                        </systemProperty>
+                     </systemProperties>
+                  </configuration>
+               </plugin>
+            </plugins>
+         </build>
+      </profile>
+   </profiles>
+   
+</project>

Propchange: geronimo/tck/branches/3.0/jcdi-tck-runner/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/tck/branches/3.0/jcdi-tck-runner/pom.xml
------------------------------------------------------------------------------
    svn:executable = *

Propchange: geronimo/tck/branches/3.0/jcdi-tck-runner/pom.xml
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/tck/branches/3.0/jcdi-tck-runner/pom.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: geronimo/tck/branches/3.0/jcdi-tck-runner/src/main/resources/META-INF/jboss-test-harness.properties
URL: http://svn.apache.org/viewvc/geronimo/tck/branches/3.0/jcdi-tck-runner/src/main/resources/META-INF/jboss-test-harness.properties?rev=966421&view=auto
==============================================================================
--- geronimo/tck/branches/3.0/jcdi-tck-runner/src/main/resources/META-INF/jboss-test-harness.properties (added)
+++ geronimo/tck/branches/3.0/jcdi-tck-runner/src/main/resources/META-INF/jboss-test-harness.properties Wed Jul 21 21:12:27 2010
@@ -0,0 +1,2 @@
+org.jboss.testharness.spi.StandaloneContainers=org.hibernate.jsr303.tck.util.StandaloneContainersImpl
+org.jboss.testharness.api.TestLauncher=org.jboss.testharness.impl.runner.servlet.ServletTestLauncher

Propchange: geronimo/tck/branches/3.0/jcdi-tck-runner/src/main/resources/META-INF/jboss-test-harness.properties
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/tck/branches/3.0/jcdi-tck-runner/src/main/resources/META-INF/jboss-test-harness.properties
------------------------------------------------------------------------------
    svn:executable = *

Propchange: geronimo/tck/branches/3.0/jcdi-tck-runner/src/main/resources/META-INF/jboss-test-harness.properties
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/tck/branches/3.0/jcdi-tck-runner/src/main/resources/META-INF/jboss-test-harness.properties
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: geronimo/tck/branches/3.0/jcdi-tck-runner/src/test/resources/tck-tests.xml
URL: http://svn.apache.org/viewvc/geronimo/tck/branches/3.0/jcdi-tck-runner/src/test/resources/tck-tests.xml?rev=966421&view=auto
==============================================================================
--- geronimo/tck/branches/3.0/jcdi-tck-runner/src/test/resources/tck-tests.xml (added)
+++ geronimo/tck/branches/3.0/jcdi-tck-runner/src/test/resources/tck-tests.xml Wed Jul 21 21:12:27 2010
@@ -0,0 +1,21 @@
+<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd" >
+
+<suite name="JSR-299 TCK" verbose="0"  >
+   <test name="JSR-299 TCK">
+      <method-selectors>
+         <method-selector>
+            <selector-class name="org.jboss.testharness.impl.testng.DisableIntegrationTestsMethodSelector" />
+         </method-selector>
+      </method-selectors>
+      <groups>
+         <run>
+            <exclude name="broken" />  
+         </run>
+      </groups>
+      <packages>
+         <package name="org.jboss.jsr299.tck.tests.*" />
+         <package name="org.jboss.jsr299.tck.interceptors.tests.*" />
+      </packages>
+   </test>
+   
+</suite>

Propchange: geronimo/tck/branches/3.0/jcdi-tck-runner/src/test/resources/tck-tests.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/tck/branches/3.0/jcdi-tck-runner/src/test/resources/tck-tests.xml
------------------------------------------------------------------------------
    svn:executable = *

Propchange: geronimo/tck/branches/3.0/jcdi-tck-runner/src/test/resources/tck-tests.xml
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/tck/branches/3.0/jcdi-tck-runner/src/test/resources/tck-tests.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: geronimo/tck/branches/3.0/pom.xml
URL: http://svn.apache.org/viewvc/geronimo/tck/branches/3.0/pom.xml?rev=966421&view=auto
==============================================================================
--- geronimo/tck/branches/3.0/pom.xml (added)
+++ geronimo/tck/branches/3.0/pom.xml Wed Jul 21 21:12:27 2010
@@ -0,0 +1,70 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+    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.
+-->
+
+<!-- $Rev$ $Date$ -->
+
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+
+    <modelVersion>4.0.0</modelVersion>
+
+    <parent>
+        <groupId>org.apache.geronimo</groupId>
+        <artifactId>geronimo</artifactId>
+        <version>3.0-SNAPSHOT</version>
+    </parent>
+
+    <groupId>org.apache.geronimo.tck</groupId>
+    <artifactId>geronimo-tck</artifactId>
+    <version>1.0-SNAPSHOT</version>
+    <name>Geronimo TCK</name>
+    <packaging>pom</packaging>
+
+    <description>
+        Public TCK runners for Geronimo.
+    </description>
+
+    <properties>
+        <geronimoVersion>3.0-SNAPSHOT</geronimoVersion>
+    </properties>
+
+    <repositories>
+        <repository>
+            <id>jboss</id>
+            <name>jboss</name>
+            <layout>default</layout>
+            <url>http://repository.jboss.org/maven2</url>
+            <snapshots>
+                <enabled>false</enabled>
+            </snapshots>
+            <releases>
+                <enabled>true</enabled>
+            </releases>
+        </repository>
+    </repositories>
+
+    <modules>
+        <module>jboss-test-harness-geronimo</module>
+        <module>jcdi-tck-runner</module>
+        <module>validator-tck-runner</module>
+        <module>jaxb-tck-runner</module>
+        <module>stax-tck-runner</module>
+    </modules>
+
+</project>

Propchange: geronimo/tck/branches/3.0/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/tck/branches/3.0/pom.xml
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/tck/branches/3.0/pom.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: geronimo/tck/branches/3.0/stax-tck-runner/pom.xml
URL: http://svn.apache.org/viewvc/geronimo/tck/branches/3.0/stax-tck-runner/pom.xml?rev=966421&view=auto
==============================================================================
--- geronimo/tck/branches/3.0/stax-tck-runner/pom.xml (added)
+++ geronimo/tck/branches/3.0/stax-tck-runner/pom.xml Wed Jul 21 21:12:27 2010
@@ -0,0 +1,69 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+    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.
+-->
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+
+    <modelVersion>4.0.0</modelVersion>
+
+    <parent>
+        <groupId>org.apache.geronimo.tck</groupId>
+        <artifactId>geronimo-tck</artifactId>
+        <version>1.0-SNAPSHOT</version>
+    </parent>
+
+    <artifactId>stax-tck-runner</artifactId>
+    <name>STAX TCK Runner</name>
+
+    <dependencies>
+         <dependency>
+            <groupId>org.apache.geronimo.bundles</groupId>
+            <artifactId>woodstox</artifactId>
+        </dependency>
+    </dependencies>
+
+    <build>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-dependency-plugin</artifactId>
+                <executions>
+                    <execution>
+                        <id>copy</id>
+                        <phase>generate-test-sources</phase>
+                        <goals>
+                            <goal>copy</goal>
+                        </goals>
+                        <configuration>
+                            <stripVersion>false</stripVersion>
+                            <artifactItems>
+                                <artifactItem>
+                                    <groupId>org.apache.geronimo.bundles</groupId>
+                                    <artifactId>woodstox</artifactId>
+                                    <overWrite>true</overWrite>
+                                    <outputDirectory>${project.build.directory}/dependency/lib</outputDirectory>
+                                </artifactItem>
+                            </artifactItems>
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>
+        </plugins>
+    </build>
+
+</project>

Propchange: geronimo/tck/branches/3.0/stax-tck-runner/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/tck/branches/3.0/stax-tck-runner/pom.xml
------------------------------------------------------------------------------
    svn:executable = *

Propchange: geronimo/tck/branches/3.0/stax-tck-runner/pom.xml
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/tck/branches/3.0/stax-tck-runner/pom.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: geronimo/tck/branches/3.0/stax-tck-runner/run.sh
URL: http://svn.apache.org/viewvc/geronimo/tck/branches/3.0/stax-tck-runner/run.sh?rev=966421&view=auto
==============================================================================
--- geronimo/tck/branches/3.0/stax-tck-runner/run.sh (added)
+++ geronimo/tck/branches/3.0/stax-tck-runner/run.sh Wed Jul 21 21:12:27 2010
@@ -0,0 +1,40 @@
+#!/bin/sh
+
+if [ -z "$STAX_HOME" ] ; then
+  echo "STAX_HOME not set"
+  exit 1
+fi
+
+STAX_HOME=$STAX_HOME/com/bea/ts
+BASE_DIR=$PWD
+
+mvn install -q -DskipTests=true
+
+STAX_CLASSPATH=
+for file in $STAX_HOME/lib/*.jar
+do
+  if [ -z "$STAX_CLASSPATH" ]; then
+    STAX_CLASSPATH="$file"
+  else
+    STAX_CLASSPATH="$STAX_CLASSPATH $file"
+  fi
+done
+
+for file in $BASE_DIR/target/dependency/lib/*.jar
+do
+  if [ -z "$STAX_CLASSPATH" ]; then
+    STAX_CLASSPATH="$file"
+  else
+    STAX_CLASSPATH="$STAX_CLASSPATH $file"
+  fi
+done
+
+TEST_DIR=$BASE_DIR/target/test-$$
+
+echo "Running Tests. Test directory is: $TEST_DIR"
+
+mkdir $TEST_DIR
+
+cd $STAX_HOME
+java -jar $STAX_HOME/lib/javatest.jar -batch "testsuite $STAX_HOME; workdir $TEST_DIR; open $BASE_DIR/target/test-classes/stax.jti; set StAX\ TCK.jvm $JAVA_HOME/bin/java; set StAX\ TCK.tckClasspath \"$STAX_CLASSPATH\"; runtests"
+

Propchange: geronimo/tck/branches/3.0/stax-tck-runner/run.sh
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/tck/branches/3.0/stax-tck-runner/run.sh
------------------------------------------------------------------------------
    svn:executable = *

Propchange: geronimo/tck/branches/3.0/stax-tck-runner/run.sh
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Added: geronimo/tck/branches/3.0/stax-tck-runner/src/test/resources/stax.jti
URL: http://svn.apache.org/viewvc/geronimo/tck/branches/3.0/stax-tck-runner/src/test/resources/stax.jti?rev=966421&view=auto
==============================================================================
--- geronimo/tck/branches/3.0/stax-tck-runner/src/test/resources/stax.jti (added)
+++ geronimo/tck/branches/3.0/stax-tck-runner/src/test/resources/stax.jti Wed Jul 21 21:12:27 2010
@@ -0,0 +1,25 @@
+#JavaTest Configuration Interview
+#Thu Jun 24 01:05:21 EDT 2010
+StAX\ TCK.cmdType=otherVM
+TESTSUITE=/media/d/dev/tck/jsr173-tck/com/bea/ts
+StAX\ TCK.workDir=foo
+QUESTION=StAX TCK.epilog
+StAX\ TCK.jvm=/usr/lib/jvm/java-6-sun/bin/java
+StAX\ TCK.timeout.timeout=1.0
+StAX\ TCK.fileEncoding=None
+CHECKSUM=4d934a346dd0ee84
+StAX\ TCK.priorStatus.status=
+WORKDIR=/media/d/dev/tck/jsr173-tck/com/bea/ts/foo
+StAX\ TCK.inputfactory=com.ctc.wstx.stax.WstxInputFactory
+StAX\ TCK.keywords.keywords.mode=expr
+StAX\ TCK.excludeList.latestAutoCheckInterval=unset
+StAX\ TCK.concurrency.concurrency=1
+StAX\ TCK.desc=stax
+StAX\ TCK.outputfactory=com.ctc.wstx.stax.WstxOutputFactory
+INTERVIEW=com.bea.ts.util.interview.StaxTCKInterview
+StAX\ TCK.tckClasspath=lib/javatest.jar lib/tck-classes.jar lib/dtdparser120.jar lib/jax-qname.jar lib/namespace.jar /home/gawor/.m2/repository/org/apache/geronimo/bundles/woodstox/3.2.9_1/woodstox-3.2.9_1.jar
+StAX\ TCK.eventfactory=com.ctc.wstx.stax.WstxEventFactory
+StAX\ TCK.name=stax
+StAX\ TCK.tests.tests=
+StAX\ TCK.excludeList.latestAutoCheckMode=everyXDays
+StAX\ TCK.excludeList.needExcludeList=No

Propchange: geronimo/tck/branches/3.0/stax-tck-runner/src/test/resources/stax.jti
------------------------------------------------------------------------------
    svn:executable = *

Added: geronimo/tck/branches/3.0/validator-tck-runner/README.TXT
URL: http://svn.apache.org/viewvc/geronimo/tck/branches/3.0/validator-tck-runner/README.TXT?rev=966421&view=auto
==============================================================================
--- geronimo/tck/branches/3.0/validator-tck-runner/README.TXT (added)
+++ geronimo/tck/branches/3.0/validator-tck-runner/README.TXT Wed Jul 21 21:12:27 2010
@@ -0,0 +1,7 @@
+Running the TCK
+===============
+
+Execute:
+
+mvn test -Dincontainer -Dgeronimo.home=<Geronimo installation directory>
+

Propchange: geronimo/tck/branches/3.0/validator-tck-runner/README.TXT
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/tck/branches/3.0/validator-tck-runner/README.TXT
------------------------------------------------------------------------------
    svn:executable = *

Propchange: geronimo/tck/branches/3.0/validator-tck-runner/README.TXT
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/tck/branches/3.0/validator-tck-runner/README.TXT
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: geronimo/tck/branches/3.0/validator-tck-runner/pom.xml
URL: http://svn.apache.org/viewvc/geronimo/tck/branches/3.0/validator-tck-runner/pom.xml?rev=966421&view=auto
==============================================================================
--- geronimo/tck/branches/3.0/validator-tck-runner/pom.xml (added)
+++ geronimo/tck/branches/3.0/validator-tck-runner/pom.xml Wed Jul 21 21:12:27 2010
@@ -0,0 +1,276 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+    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.
+-->
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+
+    <modelVersion>4.0.0</modelVersion>
+
+    <parent>
+        <groupId>org.apache.geronimo.tck</groupId>
+        <artifactId>geronimo-tck</artifactId>
+        <version>1.0-SNAPSHOT</version>
+    </parent>
+
+    <artifactId>validator-tck-runner</artifactId>
+    <name>Validator TCK Runner</name>
+    <description>Aggregates dependencies and run's the JSR-303 TCK</description>
+
+    <dependencies>
+        <!-- tck -->
+        <dependency>
+            <groupId>org.hibernate.jsr303.tck</groupId>
+            <artifactId>jsr303-tck</artifactId>
+            <version>1.0.3.GA</version>
+        </dependency>
+
+        <!-- geronimo deployer -->
+        <dependency>
+            <groupId>org.apache.geronimo.cts</groupId>
+            <artifactId>jboss-test-harness-geronimo</artifactId>
+            <version>1.0-SNAPSHOT</version>
+        </dependency>
+
+        <dependency>
+            <groupId>org.apache.bval</groupId>
+            <artifactId>org.apache.bval.bundle</artifactId>
+            <version>0.1-incubating</version>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.geronimo.specs</groupId>
+            <artifactId>geronimo-validation_1.0_spec</artifactId>
+        </dependency> 
+
+        <!-- test dependencies -->
+        <dependency>
+            <groupId>org.slf4j</groupId>
+            <artifactId>slf4j-log4j12</artifactId>
+            <version>1.5.5</version>
+            <scope>runtime</scope>
+        </dependency>
+        <dependency>
+            <groupId>org.testng</groupId>
+            <artifactId>testng</artifactId>
+            <classifier>jdk15</classifier>
+        </dependency>
+    </dependencies>
+
+    <properties>
+        <geronimo.home>/home/gawor/development/geronimo/trunk/assemblies/geronimo-tomcat7-javaee6/target/assembly</geronimo.home>
+        <validation.provider>org.apache.bval.jsr303.ApacheValidationProvider</validation.provider>
+        <remote.debug />
+    </properties>
+
+    <build>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-dependency-plugin</artifactId>
+                <executions>
+                    <execution>
+                        <id>copy</id>
+                        <phase>generate-test-sources</phase>
+                        <goals>
+                            <goal>copy</goal>
+                        </goals>
+                        <configuration>
+                            <stripVersion>true</stripVersion>
+                            <artifactItems>
+                                <artifactItem>
+                                    <groupId>org.hibernate.jsr303.tck</groupId>
+                                    <artifactId>jsr303-tck</artifactId>
+                                    <type>xml</type>
+                                    <classifier>suite</classifier>
+                                    <overWrite>false</overWrite>
+                                </artifactItem>
+                                <artifactItem>
+                                    <groupId>org.apache.geronimo.specs</groupId>
+                                    <artifactId>geronimo-validation_1.0_spec</artifactId>
+                                    <overWrite>true</overWrite>
+                                    <outputDirectory>${project.build.directory}/dependency/lib</outputDirectory>
+                                </artifactItem>
+                                <artifactItem>
+                                    <groupId>org.apache.bval</groupId>
+                                    <artifactId>org.apache.bval.bundle</artifactId>
+                                    <overWrite>true</overWrite>
+                                    <outputDirectory>${project.build.directory}/dependency/lib</outputDirectory>
+                                </artifactItem>
+                                <artifactItem>
+                                    <groupId>org.slf4j</groupId>
+                                    <artifactId>slf4j-log4j12</artifactId>
+                                    <overWrite>true</overWrite>
+                                    <outputDirectory>${project.build.directory}/dependency/lib</outputDirectory>
+                                </artifactItem>
+                            </artifactItems>
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-surefire-plugin</artifactId>
+                <configuration>
+                    <suiteXmlFiles>
+                        <suiteXmlFile>${project.build.directory}/dependency/jsr303-tck-suite.xml</suiteXmlFile>
+                    </suiteXmlFiles>
+                    <argLine>-Xmx128m</argLine>
+                    <forkMode>once</forkMode>
+                    <systemProperties>
+                        <property>
+                            <name>validation.provider</name>
+                            <value>${validation.provider}</value>
+                        </property>
+                    </systemProperties>
+                </configuration>
+            </plugin>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-surefire-report-plugin</artifactId>
+                <executions>
+                    <execution>
+                        <id>generate-test-report</id>
+                        <phase>test</phase>
+                        <goals>
+                            <goal>report-only</goal>
+                        </goals>
+                    </execution>
+                </executions>
+                <configuration>
+                    <outputDirectory>${project.build.directory}/surefire-reports</outputDirectory>
+                    <outputName>test-report</outputName>
+                </configuration>
+            </plugin>
+        </plugins>
+    </build>
+    <profiles>
+        <profile>
+            <id>incontainer-debug</id>
+            <activation>
+                <property>
+                    <name>debug</name>
+                </property>
+            </activation>
+            <properties>
+                <remote.debug>-Xnoagent -Djava.compiler=NONE -Xdebug
+                    -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=5005
+                </remote.debug>
+            </properties>
+        </profile>
+        <profile>
+            <id>incontainer</id>
+            <activation>
+                <property>
+                    <name>incontainer</name>
+                </property>
+            </activation>
+            <build>
+                <plugins>
+                    <plugin>
+                        <groupId>org.apache.maven.plugins</groupId>
+                        <artifactId>maven-surefire-plugin</artifactId>
+                        <configuration>
+                            <suiteXmlFiles>
+                                <suiteXmlFile>${project.build.directory}/dependency/jsr303-tck-suite.xml</suiteXmlFile>
+                            </suiteXmlFiles>
+                            <systemProperties>
+                                <property>
+                                    <name>validation.provider</name>
+                                    <value>${validation.provider}</value>
+                                </property>
+                                <property>
+                                    <name>org.jboss.testharness.standalone</name>
+                                    <value>false</value>
+                                </property>
+                                <property>
+                                    <name>GERONIMO_HOME</name>
+                                    <value>${geronimo.home}</value>
+                                </property>
+                                <property>
+                                    <name>JAVA_OPTS</name>
+                                    <value>-Xms128m -Xmx384m -XX:MaxPermSize=128m 
+                                        -Djline.terminal=jline.UnsupportedTerminal
+                                        -Dvalidation.provider=${validation.provider} ${remote.debug}
+                                    </value>
+                                </property>
+                                <property>
+                                    <name>org.jboss.testharness.container.forceRestart</name>
+                                    <value>true</value>
+                                </property>
+                                <property>
+                                    <name>org.jboss.testharness.runIntegrationTests</name>
+                                    <value>true</value>
+                                </property>
+                                <property>
+                                    <name>org.jboss.testharness.libraryDirectory</name>
+                                    <value>target/dependency/lib</value>
+                                </property>
+                                <property>
+                                    <name>org.jboss.testharness.outputDirectory</name>
+                                    <value>target</value>
+                                </property>
+                            </systemProperties>
+                        </configuration>
+                    </plugin>
+                </plugins>
+            </build>
+        </profile>
+        <profile>
+            <id>write-artifacts-to-disk</id>
+            <activation>
+                <property>
+                    <name>dumpArtifacts</name>
+                </property>
+            </activation>
+            <build>
+                <plugins>
+                    <plugin>
+                        <groupId>org.codehaus.mojo</groupId>
+                        <artifactId>exec-maven-plugin</artifactId>
+                        <executions>
+                            <execution>
+                                <id>generate-jsr-303-artifacts</id>
+                                <phase>test-compile</phase>
+                                <goals>
+                                    <goal>java</goal>
+                                </goals>
+                            </execution>
+                        </executions>
+                        <configuration>
+                            <classpathScope>test</classpathScope>
+                            <mainClass>org.jboss.testharness.api.TCK</mainClass>
+                            <systemProperties>
+                                <systemProperty>
+                                    <key>dumpArtifacts</key>
+                                    <value>true</value>
+                                </systemProperty>
+                                <systemProperty>
+                                    <key>org.jboss.testharness.outputDirectory</key>
+                                    <value>target/jsr303-artifacts</value>
+                                </systemProperty>
+                                <systemProperty>
+                                    <key>org.jboss.testharness.libraryDirectory</key>
+                                    <value>target/jsr303-artifacts/dependencies</value>
+                                </systemProperty>
+                            </systemProperties>
+                        </configuration>
+                    </plugin>
+                </plugins>
+            </build>
+        </profile>
+    </profiles>
+</project>

Propchange: geronimo/tck/branches/3.0/validator-tck-runner/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/tck/branches/3.0/validator-tck-runner/pom.xml
------------------------------------------------------------------------------
    svn:executable = *

Propchange: geronimo/tck/branches/3.0/validator-tck-runner/pom.xml
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/tck/branches/3.0/validator-tck-runner/pom.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: geronimo/tck/branches/3.0/validator-tck-runner/src/main/resources/META-INF/jboss-test-harness.properties
URL: http://svn.apache.org/viewvc/geronimo/tck/branches/3.0/validator-tck-runner/src/main/resources/META-INF/jboss-test-harness.properties?rev=966421&view=auto
==============================================================================
--- geronimo/tck/branches/3.0/validator-tck-runner/src/main/resources/META-INF/jboss-test-harness.properties (added)
+++ geronimo/tck/branches/3.0/validator-tck-runner/src/main/resources/META-INF/jboss-test-harness.properties Wed Jul 21 21:12:27 2010
@@ -0,0 +1,3 @@
+org.jboss.testharness.spi.StandaloneContainers=org.hibernate.jsr303.tck.util.StandaloneContainersImpl
+org.jboss.testharness.api.TestLauncher=org.jboss.testharness.impl.runner.servlet.ServletTestLauncher
+org.jboss.testharness.testPackage=org.hibernate.jsr303.tck.tests
\ No newline at end of file

Propchange: geronimo/tck/branches/3.0/validator-tck-runner/src/main/resources/META-INF/jboss-test-harness.properties
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/tck/branches/3.0/validator-tck-runner/src/main/resources/META-INF/jboss-test-harness.properties
------------------------------------------------------------------------------
    svn:executable = *

Propchange: geronimo/tck/branches/3.0/validator-tck-runner/src/main/resources/META-INF/jboss-test-harness.properties
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/tck/branches/3.0/validator-tck-runner/src/main/resources/META-INF/jboss-test-harness.properties
------------------------------------------------------------------------------
    svn:mime-type = text/plain



Mime
View raw message