[weld-commits] Weld SVN: r3885 - in ri/trunk/jboss-tck-runner: src/main/resources/META-INF and 1 other directories.

weld-commits at lists.jboss.org weld-commits at lists.jboss.org
Thu Oct 8 00:30:53 EDT 2009


Author: shane.bryzak at jboss.com
Date: 2009-10-08 00:30:52 -0400 (Thu, 08 Oct 2009)
New Revision: 3885

Added:
   ri/trunk/jboss-tck-runner/src/test/java/org/jboss/weld/tck/jbossas/WeldProfileServiceDeploymentExceptionTransformer.java
Removed:
   ri/trunk/jboss-tck-runner/src/test/java/org/jboss/weld/tck/jbossas/WebBeansProfileServiceDeploymentExceptionTransformer.java
Modified:
   ri/trunk/jboss-tck-runner/pom.xml
   ri/trunk/jboss-tck-runner/src/main/resources/META-INF/jboss-test-harness.properties
Log:
class name changes


Modified: ri/trunk/jboss-tck-runner/pom.xml
===================================================================
--- ri/trunk/jboss-tck-runner/pom.xml	2009-10-08 04:21:46 UTC (rev 3884)
+++ ri/trunk/jboss-tck-runner/pom.xml	2009-10-08 04:30:52 UTC (rev 3885)
@@ -1,31 +1,31 @@
 <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">
    <parent>
-      <artifactId>webbeans-parent</artifactId>
-      <groupId>org.jboss.webbeans</groupId>
+      <artifactId>weld-parent</artifactId>
+      <groupId>org.jboss.weld</groupId>
       <version>1.0.0-SNAPSHOT</version>
       <relativePath>../parent</relativePath>
    </parent>
    <modelVersion>4.0.0</modelVersion>
-   <groupId>org.jboss.webbeans</groupId>
-   <artifactId>webbeans-jboss-tck-runner</artifactId>
+   <groupId>org.jboss.weld</groupId>
+   <artifactId>weld-jboss-tck-runner</artifactId>
    <name>JSR-299 TCK runner for JBoss AS</name>
    <description>Aggregates dependencies and run's the JSR-299 TCK on JBoss AS</description>
    
    <dependencies>
 
       <dependency>
-         <groupId>org.jboss.webbeans</groupId>
+         <groupId>org.jboss.weld</groupId>
          <artifactId>jsr299-api</artifactId>
       </dependency>
       
       <dependency>
-         <groupId>org.jboss.webbeans</groupId>
-         <artifactId>webbeans-core</artifactId>
+         <groupId>org.jboss.weld</groupId>
+         <artifactId>weld-core</artifactId>
       </dependency>
 
       <dependency>
-         <groupId>org.jboss.webbeans</groupId>
-         <artifactId>webbeans-porting-package</artifactId>
+         <groupId>org.jboss.weld</groupId>
+         <artifactId>weld-porting-package</artifactId>
       </dependency>
       
       <dependency>
@@ -65,14 +65,14 @@
                            <overWrite>true</overWrite>
                         </artifactItem>
                         <artifactItem>
-                           <groupId>org.jboss.webbeans</groupId>
-                           <artifactId>webbeans-porting-package</artifactId>
+                           <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.webbeans</groupId>
-                           <artifactId>webbeans-core-test</artifactId>
+                           <groupId>org.jboss.weld</groupId>
+                           <artifactId>weld-core-test</artifactId>
                            <overWrite>true</overWrite>
                            <outputDirectory>${project.build.directory}/dependency/lib</outputDirectory>
                         </artifactItem>

Modified: ri/trunk/jboss-tck-runner/src/main/resources/META-INF/jboss-test-harness.properties
===================================================================
--- ri/trunk/jboss-tck-runner/src/main/resources/META-INF/jboss-test-harness.properties	2009-10-08 04:21:46 UTC (rev 3884)
+++ ri/trunk/jboss-tck-runner/src/main/resources/META-INF/jboss-test-harness.properties	2009-10-08 04:30:52 UTC (rev 3885)
@@ -1,2 +1,2 @@
 org.jboss.testharness.api.TestLauncher=org.jboss.testharness.impl.runner.servlet.ServletTestLauncher
-org.jboss.testharness.container.deploymentExceptionTransformer=org.jboss.webbeans.tck.jbossas.WebBeansProfileServiceDeploymentExceptionTransformer
+org.jboss.testharness.container.deploymentExceptionTransformer=org.jboss.weld.tck.jbossas.WeldProfileServiceDeploymentExceptionTransformer

Deleted: ri/trunk/jboss-tck-runner/src/test/java/org/jboss/weld/tck/jbossas/WebBeansProfileServiceDeploymentExceptionTransformer.java
===================================================================
--- ri/trunk/jboss-tck-runner/src/test/java/org/jboss/weld/tck/jbossas/WebBeansProfileServiceDeploymentExceptionTransformer.java	2009-10-08 04:21:46 UTC (rev 3884)
+++ ri/trunk/jboss-tck-runner/src/test/java/org/jboss/weld/tck/jbossas/WebBeansProfileServiceDeploymentExceptionTransformer.java	2009-10-08 04:30:52 UTC (rev 3885)
@@ -1,54 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2008, Red Hat Middleware LLC, and individual contributors
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- *
- * Licensed 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.jboss.weld.tck.jbossas;
-
-import java.util.Map.Entry;
-
-import org.jboss.deployers.client.spi.IncompleteDeploymentException;
-import org.jboss.testharness.api.DeploymentException;
-import org.jboss.testharness.api.DeploymentExceptionTransformer;
-
-/**
- * An implementation which can transform deployment exceptions from JBoss AS
- * reported via the Profile Service.
- * 
- * Please note that if the deployment fails for a secondary reason, such as a NullPointerException in the init() method
- * of a filter, to provide an example, then this translator will not be made aware of the bootstrap exception.
- * 
- * @author Pete Muir
- */
-public class WebBeansProfileServiceDeploymentExceptionTransformer implements DeploymentExceptionTransformer
-{
-
-   public DeploymentException transform(DeploymentException exception)
-   {
-      Throwable failure = exception.getCause().getCause();
-      if (failure instanceof IncompleteDeploymentException)
-      {
-         IncompleteDeploymentException incompleteDeploymentException = (IncompleteDeploymentException) failure;
-         for (Entry<String, Throwable> entry : incompleteDeploymentException.getIncompleteDeployments().getContextsInError().entrySet())
-         {
-            if (entry.getKey().endsWith(exception.getName() + "/_WebBeansBootstrapBean"))
-            {
-               return new DeploymentException(exception, entry.getValue());
-            }
-         }
-      }
-      return exception;
-   }
-
-}

Copied: ri/trunk/jboss-tck-runner/src/test/java/org/jboss/weld/tck/jbossas/WeldProfileServiceDeploymentExceptionTransformer.java (from rev 3884, ri/trunk/jboss-tck-runner/src/test/java/org/jboss/weld/tck/jbossas/WebBeansProfileServiceDeploymentExceptionTransformer.java)
===================================================================
--- ri/trunk/jboss-tck-runner/src/test/java/org/jboss/weld/tck/jbossas/WeldProfileServiceDeploymentExceptionTransformer.java	                        (rev 0)
+++ ri/trunk/jboss-tck-runner/src/test/java/org/jboss/weld/tck/jbossas/WeldProfileServiceDeploymentExceptionTransformer.java	2009-10-08 04:30:52 UTC (rev 3885)
@@ -0,0 +1,54 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2008, Red Hat Middleware LLC, and individual contributors
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * Licensed 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.jboss.weld.tck.jbossas;
+
+import java.util.Map.Entry;
+
+import org.jboss.deployers.client.spi.IncompleteDeploymentException;
+import org.jboss.testharness.api.DeploymentException;
+import org.jboss.testharness.api.DeploymentExceptionTransformer;
+
+/**
+ * An implementation which can transform deployment exceptions from JBoss AS
+ * reported via the Profile Service.
+ * 
+ * Please note that if the deployment fails for a secondary reason, such as a NullPointerException in the init() method
+ * of a filter, to provide an example, then this translator will not be made aware of the bootstrap exception.
+ * 
+ * @author Pete Muir
+ */
+public class WeldProfileServiceDeploymentExceptionTransformer implements DeploymentExceptionTransformer
+{
+
+   public DeploymentException transform(DeploymentException exception)
+   {
+      Throwable failure = exception.getCause().getCause();
+      if (failure instanceof IncompleteDeploymentException)
+      {
+         IncompleteDeploymentException incompleteDeploymentException = (IncompleteDeploymentException) failure;
+         for (Entry<String, Throwable> entry : incompleteDeploymentException.getIncompleteDeployments().getContextsInError().entrySet())
+         {
+            if (entry.getKey().endsWith(exception.getName() + "/_WeldBootstrapBean"))
+            {
+               return new DeploymentException(exception, entry.getValue());
+            }
+         }
+      }
+      return exception;
+   }
+
+}



More information about the weld-commits mailing list