Weld SVN: r6923 - in core/trunk: bundles and 6 other directories.
by weld-commits@lists.jboss.org
Author: pete.muir(a)jboss.org
Date: 2010-08-05 14:59:41 -0400 (Thu, 05 Aug 2010)
New Revision: 6923
Added:
core/trunk/bundles/
core/trunk/bundles/osgi/
core/trunk/tests/src/test/java/org/jboss/weld/tests/resource/
core/trunk/tests/src/test/java/org/jboss/weld/tests/resource/producer/
core/trunk/tests/src/test/java/org/jboss/weld/tests/resource/producer/non/
core/trunk/tests/src/test/java/org/jboss/weld/tests/resource/producer/non/dependent/
core/trunk/tests/src/test/java/org/jboss/weld/tests/resource/producer/non/dependent/NonDependentResourceProducerFieldTest.java
core/trunk/tests/src/test/java/org/jboss/weld/tests/resource/producer/non/dependent/ResourceProducer.java
Removed:
core/trunk/osgi-bundle/
Modified:
core/trunk/pom.xml
core/trunk/tests-arquillian/pom.xml
Log:
add missing test, move osgi bundle to sub folder
Copied: core/trunk/bundles/osgi (from rev 6912, core/trunk/osgi-bundle)
Modified: core/trunk/pom.xml
===================================================================
--- core/trunk/pom.xml 2010-08-05 17:27:37 UTC (rev 6922)
+++ core/trunk/pom.xml 2010-08-05 18:59:41 UTC (rev 6923)
@@ -9,7 +9,7 @@
<parent>
<groupId>org.jboss.weld</groupId>
<artifactId>weld-parent</artifactId>
- <version>12</version>
+ <version>15</version>
</parent>
<name>Weld Build Aggregator</name>
@@ -22,7 +22,10 @@
<!-- Minimal metadata -->
<description>The build aggregator for Weld, which takes care of calling the modules which make up Weld</description>
- <!-- Workaround bug in Maven 2.? where it can't download a unique version snapshot on import scope -->
+ <!--
+ Workaround bug in Maven 2.? where it can't download a unique
+ version snapshot on import scope
+ -->
<dependencies>
<dependency>
<groupId>org.jboss.weld</groupId>
@@ -43,42 +46,42 @@
<profile>
<id>default</id>
<activation>
- <activeByDefault>true</activeByDefault>
+ <property>
+ <name>weld.default.build</name>
+ <value>!false</value>
+ </property>
</activation>
<modules>
<module>bom</module>
<module>parent</module>
<module>impl</module>
- <module>tests</module>
- <module>tests-arquillian</module>
- <module>porting-package</module>
- <module>inject-tck-runner</module>
- <module>jboss-tck-runner</module>
- <module>osgi-bundle</module>
</modules>
</profile>
<profile>
<id>update-jboss-as</id>
<modules>
- <module>bom</module>
- <module>parent</module>
- <module>impl</module>
+ <module>jboss-as</module>
+ </modules>
+ </profile>
+ <profile>
+ <id>tests</id>
+ <activation>
+ <property>
+ <name>weld.default.build</name>
+ <value>!false</value>
+ </property>
+ </activation>
+ <modules>
<module>tests</module>
<module>tests-arquillian</module>
- <module>porting-package</module>
<module>inject-tck-runner</module>
<module>jboss-tck-runner</module>
- <module>osgi-bundle</module>
- <module>jboss-as</module>
</modules>
</profile>
<profile>
- <id>skip-tests</id>
+ <id>bundles</id>
<modules>
- <module>bom</module>
- <module>parent</module>
- <module>impl</module>
- <module>osgi-bundle</module>
+ <module>bundles/osgi</module>
</modules>
</profile>
</profiles>
Added: core/trunk/tests/src/test/java/org/jboss/weld/tests/resource/producer/non/dependent/NonDependentResourceProducerFieldTest.java
===================================================================
--- core/trunk/tests/src/test/java/org/jboss/weld/tests/resource/producer/non/dependent/NonDependentResourceProducerFieldTest.java (rev 0)
+++ core/trunk/tests/src/test/java/org/jboss/weld/tests/resource/producer/non/dependent/NonDependentResourceProducerFieldTest.java 2010-08-05 18:59:41 UTC (rev 6923)
@@ -0,0 +1,21 @@
+package org.jboss.weld.tests.resource.producer.non.dependent;
+
+import org.jboss.testharness.impl.packaging.Artifact;
+import org.jboss.testharness.impl.packaging.ExpectedDeploymentException;
+import org.jboss.weld.exceptions.DefinitionException;
+import org.jboss.weld.test.AbstractWeldTest;
+import org.testng.annotations.Test;
+
+@Artifact
+(a)ExpectedDeploymentException(DefinitionException.class)
+public class NonDependentResourceProducerFieldTest extends AbstractWeldTest
+{
+
+ @Test(groups="incontainer-broken")
+ // JBoss AS not reporting the right exception
+ public void test()
+ {
+ assert false;
+ }
+
+}
Property changes on: core/trunk/tests/src/test/java/org/jboss/weld/tests/resource/producer/non/dependent/NonDependentResourceProducerFieldTest.java
___________________________________________________________________
Name: svn:eol-style
+ native
Added: core/trunk/tests/src/test/java/org/jboss/weld/tests/resource/producer/non/dependent/ResourceProducer.java
===================================================================
--- core/trunk/tests/src/test/java/org/jboss/weld/tests/resource/producer/non/dependent/ResourceProducer.java (rev 0)
+++ core/trunk/tests/src/test/java/org/jboss/weld/tests/resource/producer/non/dependent/ResourceProducer.java 2010-08-05 18:59:41 UTC (rev 6923)
@@ -0,0 +1,17 @@
+package org.jboss.weld.tests.resource.producer.non.dependent;
+
+import javax.enterprise.context.ApplicationScoped;
+import javax.enterprise.inject.Produces;
+import javax.persistence.EntityManager;
+import javax.persistence.PersistenceContext;
+
+public class ResourceProducer
+{
+
+ @SuppressWarnings("unused")
+ @Produces
+ @ApplicationScoped
+ @PersistenceContext
+ private EntityManager entityManager;
+
+}
Property changes on: core/trunk/tests/src/test/java/org/jboss/weld/tests/resource/producer/non/dependent/ResourceProducer.java
___________________________________________________________________
Name: svn:eol-style
+ native
Modified: core/trunk/tests-arquillian/pom.xml
===================================================================
--- core/trunk/tests-arquillian/pom.xml 2010-08-05 17:27:37 UTC (rev 6922)
+++ core/trunk/tests-arquillian/pom.xml 2010-08-05 18:59:41 UTC (rev 6923)
@@ -280,7 +280,6 @@
<dependency>
<groupId>org.jboss.jbossas</groupId>
<artifactId>jboss-as-client</artifactId>
- <version>${version.jbossas_client}</version>
<type>pom</type>
<scope>test</scope>
</dependency>
15 years, 8 months
Weld SVN: r6922 - build.
by weld-commits@lists.jboss.org
Author: pete.muir(a)jboss.org
Date: 2010-08-05 13:27:37 -0400 (Thu, 05 Aug 2010)
New Revision: 6922
Removed:
build/branches/
build/trunk/
Log:
migrate to GIT
15 years, 8 months
Weld SVN: r6921 - in build: trunk and 1 other directory.
by weld-commits@lists.jboss.org
Author: pete.muir(a)jboss.org
Date: 2010-08-05 13:27:01 -0400 (Thu, 05 Aug 2010)
New Revision: 6921
Added:
build/README
Removed:
build/trunk/README
Log:
prepare for GIT migration
Copied: build/README (from rev 6920, build/trunk/README)
===================================================================
--- build/README (rev 0)
+++ build/README 2010-08-05 17:27:01 UTC (rev 6921)
@@ -0,0 +1,3 @@
+The is the legacy repository for the Weld build utilities. It contains tags and branches for earlier Weld build utilies
+
+New development and tags for the later series of Weld build utilities is http://github.com/weld/build
Deleted: build/trunk/README
===================================================================
--- build/trunk/README 2010-08-05 17:24:36 UTC (rev 6920)
+++ build/trunk/README 2010-08-05 17:27:01 UTC (rev 6921)
@@ -1,3 +0,0 @@
-The is the legacy repository for the Weld build utilities. It contains tags and branches for earlier Weld build utilies
-
-New development and tags for the later series of Weld build utilities is http://github.com/weld/build
15 years, 8 months
Weld SVN: r6920 - build/trunk.
by weld-commits@lists.jboss.org
Author: pete.muir(a)jboss.org
Date: 2010-08-05 13:24:36 -0400 (Thu, 05 Aug 2010)
New Revision: 6920
Added:
build/trunk/README
Log:
prepare for GIT migration
Added: build/trunk/README
===================================================================
--- build/trunk/README (rev 0)
+++ build/trunk/README 2010-08-05 17:24:36 UTC (rev 6920)
@@ -0,0 +1,3 @@
+The is the legacy repository for the Weld build utilities. It contains tags and branches for earlier Weld build utilies
+
+New development and tags for the later series of Weld build utilities is http://github.com/weld/build
15 years, 8 months
Weld SVN: r6919 - api.
by weld-commits@lists.jboss.org
Author: pete.muir(a)jboss.org
Date: 2010-08-05 13:15:41 -0400 (Thu, 05 Aug 2010)
New Revision: 6919
Removed:
api/branches/
api/trunk/
Log:
cleanup
15 years, 8 months
Weld SVN: r6918 - in api: trunk and 1 other directory.
by weld-commits@lists.jboss.org
Author: pete.muir(a)jboss.org
Date: 2010-08-05 13:15:15 -0400 (Thu, 05 Aug 2010)
New Revision: 6918
Added:
api/README
Removed:
api/trunk/readme.txt
Log:
cleanup
Copied: api/README (from rev 6917, api/trunk/readme.txt)
===================================================================
--- api/README (rev 0)
+++ api/README 2010-08-05 17:15:15 UTC (rev 6918)
@@ -0,0 +1,3 @@
+The is the legacy repository for the Weld API. It contains tags and branches for Weld 1.0.x
+
+New development and tags for the 1.1 and later series of Weld is http://github.com/weld/api
Deleted: api/trunk/readme.txt
===================================================================
--- api/trunk/readme.txt 2010-08-05 17:07:32 UTC (rev 6917)
+++ api/trunk/readme.txt 2010-08-05 17:15:15 UTC (rev 6918)
@@ -1,3 +0,0 @@
-The is the legacy repository for the Weld API. It contains tags and branches for Weld 1.0.x
-
-New development and tags for the 1.1 and later series of Weld is http://github.com/weld/api
15 years, 8 months
Weld SVN: r6917 - extensions.
by weld-commits@lists.jboss.org
Author: pete.muir(a)jboss.org
Date: 2010-08-05 13:07:32 -0400 (Thu, 05 Aug 2010)
New Revision: 6917
Removed:
extensions/branches/
extensions/trunk/
Log:
cleanup
15 years, 8 months
Weld SVN: r6916 - in cdi-tck/trunk/impl/src/main: resources and 1 other directory.
by weld-commits@lists.jboss.org
Author: dallen6
Date: 2010-08-05 13:01:43 -0400 (Thu, 05 Aug 2010)
New Revision: 6916
Removed:
cdi-tck/trunk/impl/src/main/java/org/jboss/jsr299/tck/tests/event/observer/transactional/
Modified:
cdi-tck/trunk/impl/src/main/resources/tck-audit-cdi.xml
Log:
CDITCK-170 Removed transactional observer tests; they were not really testing the assertions
Modified: cdi-tck/trunk/impl/src/main/resources/tck-audit-cdi.xml
===================================================================
--- cdi-tck/trunk/impl/src/main/resources/tck-audit-cdi.xml 2010-08-05 16:59:16 UTC (rev 6915)
+++ cdi-tck/trunk/impl/src/main/resources/tck-audit-cdi.xml 2010-08-05 17:01:43 UTC (rev 6916)
@@ -5043,22 +5043,27 @@
<section id="10.4.4" title="Transactional observer methods">
<assertion id="a">
<text>Transactional observer methods are observer methods which receive event notifications during the before or after completion phase of the transaction in which the event was fired. If no transaction is in progress when the event is fired, they are notified at the same time as other observers</text>
+ <note>Unverifiable since an observer method cannot detect if a transaction is involved or not</note>
</assertion>
<assertion id="b">
<text>A before completion observer method is called during the before completion phase of the transaction</text>
+ <note>Unverifiable since an observer method cannot detect if a transaction is involved or not</note>
</assertion>
<assertion id="c">
<text>An after completion observer method is called during the after completion phase of the transaction</text>
+ <note>Unverifiable since an observer method cannot detect if a transaction is involved or not</note>
</assertion>
<assertion id="d">
<text>An after success observer method is called during the after completion phase of the transaction, only when the transaction completes successfully</text>
+ <note>Unverifiable since an observer method cannot detect if a transaction is involved or not</note>
</assertion>
<assertion id="e">
<text>An after failure observer method is called during the after completion phase of the transaction, only when the transaction fails</text>
+ <note>Unverifiable since an observer method cannot detect if a transaction is involved or not</note>
</assertion>
<assertion id="f" testable="false">
@@ -5082,10 +5087,12 @@
<assertion id="bb">
<text>If the observer method is a transactional observer method and there is currently a JTA transaction in progress, the container calls the observer method during the appropriate transaction completion phase. ~Otherwise, the container calls the observer immediately.~</text>
+ <note>Unverifiable since an observer method cannot detect if a transaction is involved or not</note>
</assertion>
<assertion id="bc">
<text>If the observer method is a transactional observer method and there is currently a JTA transaction in progress, ~the container calls the observer method during the appropriate transaction completion phase.~ Otherwise, the container calls the observer immediately.</text>
+ <note>Unverifiable since an observer method cannot detect if a transaction is involved or not</note>
</assertion>
<assertion id="bcb">
@@ -5094,6 +5101,7 @@
<assertion id="bd">
<text>Any observer method called before completion of a transaction may call |setRollbackOnly()| to force a transaction rollback.</text>
+ <note>Unverifiable since an observer method cannot access the transaction being committed</note>
</assertion>
<assertion id="bd" testable="false">
15 years, 8 months
Weld SVN: r6915 - in extensions: trunk and 1 other directory.
by weld-commits@lists.jboss.org
Author: pete.muir(a)jboss.org
Date: 2010-08-05 12:59:16 -0400 (Thu, 05 Aug 2010)
New Revision: 6915
Added:
extensions/README
Removed:
extensions/trunk/README
Log:
cleanup
Copied: extensions/README (from rev 6914, extensions/trunk/README)
===================================================================
--- extensions/README (rev 0)
+++ extensions/README 2010-08-05 16:59:16 UTC (rev 6915)
@@ -0,0 +1 @@
+Weld Extensions has been migrated to Git. You can view the repository at http://github.com/weld/extensions
Deleted: extensions/trunk/README
===================================================================
--- extensions/trunk/README 2010-08-05 16:54:04 UTC (rev 6914)
+++ extensions/trunk/README 2010-08-05 16:59:16 UTC (rev 6915)
@@ -1 +0,0 @@
-Weld Extensions has been migrated to Git. You can view the repository at http://github.com/weld/extensions
15 years, 8 months
Weld SVN: r6914 - api/trunk.
by weld-commits@lists.jboss.org
Author: pete.muir(a)jboss.org
Date: 2010-08-05 12:54:04 -0400 (Thu, 05 Aug 2010)
New Revision: 6914
Added:
api/trunk/readme.txt
Removed:
api/trunk/bom/
api/trunk/parent/
api/trunk/pom.xml
api/trunk/weld-spi/
api/trunk/weld/
Log:
move to git
Deleted: api/trunk/pom.xml
===================================================================
--- api/trunk/pom.xml 2010-08-05 14:18:01 UTC (rev 6913)
+++ api/trunk/pom.xml 2010-08-05 16:54:04 UTC (rev 6914)
@@ -1,53 +0,0 @@
-<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>
- <groupId>org.jboss.weld</groupId>
- <artifactId>weld-api-build-aggregator</artifactId>
- <packaging>pom</packaging>
- <version>1.1-SNAPSHOT</version>
-
- <parent>
- <groupId>org.jboss.weld</groupId>
- <artifactId>weld-parent</artifactId>
- <version>12</version>
- </parent>
-
- <name>Weld APIs Build Aggregator</name>
-
- <!-- Minimal project metadata, for more see parent/pom.xml -->
- <description>The build aggregator for Weld APIs, which takes care of calling the modules which make up Weld APIs</description>
-
- <!-- SCM and Distribution management -->
- <scm>
- <connection>scm:svn:http://anonsvn.jboss.org/repos/weld/api/trunk</connection>
- <developerConnection>scm:svn:https://svn.jboss.org/repos/weld/api/trunk</developerConnection>
- <url>http://fisheye.jboss.org/browse/Weld</url>
- </scm>
-
- <modules>
- <module>bom</module>
- <module>parent</module>
- <module>weld</module>
- <module>weld-spi</module>
- </modules>
-
- <!-- Minimal build configuration -->
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-release-plugin</artifactId>
- <configuration>
- <tagBase>https://svn.jboss.org/repos/weld/api/tags</tagBase>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-deploy-plugin</artifactId>
- <configuration>
- <skip>true</skip>
- </configuration>
- </plugin>
- </plugins>
- </build>
-
-</project>
Added: api/trunk/readme.txt
===================================================================
--- api/trunk/readme.txt (rev 0)
+++ api/trunk/readme.txt 2010-08-05 16:54:04 UTC (rev 6914)
@@ -0,0 +1,3 @@
+The is the legacy repository for the Weld API. It contains tags and branches for Weld 1.0.x
+
+New development and tags for the 1.1 and later series of Weld is http://github.com/weld/api
15 years, 8 months