You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openwebbeans.apache.org by ge...@apache.org on 2010/02/28 00:08:51 UTC

svn commit: r917074 - in /openwebbeans/trunk: pom.xml webbeans-doc/pom.xml webbeans-impl/src/main/java/org/apache/webbeans/config/DefinitionUtil.java webbeans-tck/pom.xml

Author: gerdogdu
Date: Sat Feb 27 23:08:50 2010
New Revision: 917074

URL: http://svn.apache.org/viewvc?rev=917074&view=rev
Log:
Preparing for release

Modified:
    openwebbeans/trunk/pom.xml
    openwebbeans/trunk/webbeans-doc/pom.xml
    openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/config/DefinitionUtil.java
    openwebbeans/trunk/webbeans-tck/pom.xml

Modified: openwebbeans/trunk/pom.xml
URL: http://svn.apache.org/viewvc/openwebbeans/trunk/pom.xml?rev=917074&r1=917073&r2=917074&view=diff
==============================================================================
--- openwebbeans/trunk/pom.xml (original)
+++ openwebbeans/trunk/pom.xml Sat Feb 27 23:08:50 2010
@@ -345,7 +345,8 @@
         <module>webbeans-resource</module>
         <module>webbeans-porting</module>
         <module>samples</module>
-        <!-- <module>webbeans-tck</module>-->
+        <module>atinject-tck</module>
+        <!--<module>webbeans-tck</module>-->
   </modules>
     
 	<repositories>

Modified: openwebbeans/trunk/webbeans-doc/pom.xml
URL: http://svn.apache.org/viewvc/openwebbeans/trunk/webbeans-doc/pom.xml?rev=917074&r1=917073&r2=917074&view=diff
==============================================================================
--- openwebbeans/trunk/webbeans-doc/pom.xml (original)
+++ openwebbeans/trunk/webbeans-doc/pom.xml Sat Feb 27 23:08:50 2010
@@ -19,7 +19,7 @@
     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.apache.openwebbeans</groupId>
-    <version>1.0.0-SNAPSHOT</version>
+    <version>1.0.0-M4</version>
 
     <artifactId>openwebbeans-doc</artifactId>
     <name>Apache OpenWebBeans :: Documentation</name>

Modified: openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/config/DefinitionUtil.java
URL: http://svn.apache.org/viewvc/openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/config/DefinitionUtil.java?rev=917074&r1=917073&r2=917074&view=diff
==============================================================================
--- openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/config/DefinitionUtil.java (original)
+++ openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/config/DefinitionUtil.java Sat Feb 27 23:08:50 2010
@@ -845,9 +845,9 @@
                 //Check for public fields
                 if(ClassUtil.isPublic(field.getModifiers()) && !ClassUtil.isStatic(field.getModifiers()))
                 {
-                    if(!component.getScope().equals(Dependent.class))
+                    if(BeanManagerImpl.getManager().isNormalScope(component.getScope()))
                     {
-                        throw new WebBeansConfigurationException("If bean has a public field, bean scope must be defined as @Dependent");
+                        throw new WebBeansConfigurationException("If bean has a public field, bean scope must be defined as @Scope. Bean is : " + component.toString());
                     }
                 }                
                                 

Modified: openwebbeans/trunk/webbeans-tck/pom.xml
URL: http://svn.apache.org/viewvc/openwebbeans/trunk/webbeans-tck/pom.xml?rev=917074&r1=917073&r2=917074&view=diff
==============================================================================
--- openwebbeans/trunk/webbeans-tck/pom.xml (original)
+++ openwebbeans/trunk/webbeans-tck/pom.xml Sat Feb 27 23:08:50 2010
@@ -23,7 +23,7 @@
 	<parent>
 		<groupId>org.apache.openwebbeans</groupId>
 		<artifactId>openwebbeans</artifactId>
-		<version>1.0.0-SNAPSHOT</version>
+		<version>1.0.0-M4</version>
 	</parent>
     
 	<artifactId>openwebbeans-tck</artifactId>
@@ -94,7 +94,7 @@
         <dependency>
         	<groupId>org.apache.openwebbeans</groupId>
         	<artifactId>openwebbeans-ejb</artifactId>
-        	<version>1.0.0-SNAPSHOT</version>
+        	<version>${project.version}</version>
         </dependency>