rename owb-2.0 to owb-1.5?
Hi! with the start of CDI-2.0 it would be much easier for users if our numbers are somehow in sync with the spec. What about renaming our current trunk to 1.5.0-SNAPSHOT? We did not do any release yet... LieGrue, strub
[jira] [Commented] (OWB-992) Decorator generic delegate attribute must be same with decorated type
[ https://issues.apache.org/jira/browse/OWB-992?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14116274#comment-14116274 ] Mark Struberg commented on OWB-992: --- txs for the report! I need to take a few days to look at it in detail. The spec defines the rules for handling generics in decorators a bit different than e.g. for producers or standard injection points. That makes this area a bit more complicated... Decorator generic delegate attribute must be same with decorated type - Key: OWB-992 URL: https://issues.apache.org/jira/browse/OWB-992 Project: OpenWebBeans Issue Type: Bug Affects Versions: 1.2.6 Environment: Windows 7 32bit Oracle JDK1.7.0_51 Reporter: Bruno Attachments: owbdecorator.zip public interface IServiceO extends Object { boolean test(final O value); } public interface IExtendServiceS extends Serializable extends IServiceS { boolean another(final S value); } public class ServiceImpl implements IExtendServiceSerializable { public boolean test(final Serializable value) { return false; } public boolean another(final Serializable value) { return false; } } @Decorator public abstract class ServiceDecoratorS extends Serializable implements IExtendServiceS { @Inject @Delegate @Any private IExtendServiceS delegate; public static boolean called = false; public boolean test(final S value) { called = true; return this.delegate.test(value); } } @RunWith(BlockJUnit4ClassRunner.class) public class ServiceTest extends org.apache.myfaces.extensions.cdi.test.junit4.AbstractCdiAwareTest { @Inject IExtendServiceSerializable service; @Test public void test() { Assert.assertNotNull(Inject service is null, this.service); Assert.assertFalse(Value should be false before calling service,ServiceDecorator.called); this.service.test(new Serializable() { }); Assert.assertTrue(Value should be true before calling service, ServiceDecorator.called); } } When running the JUnit test, i've got next exception : java.lang.RuntimeException: org.apache.webbeans.exception.inject.DeploymentException: org.apache.webbeans.exception.WebBeansConfigurationException: Decorator : org.apache.webbeans.component.creation.DecoratorBeanBuilder@1329346 generic delegate attribute must be same with decorated type : IServiceS I've attached a maven projet to reproduce the error. -- This message was sent by Atlassian JIRA (v6.2#6252)
Re: rename owb-2.0 to owb-1.5?
-1. Would have been great if 1.1 and 1.2 would have been aligned as well. Id just do as tomcat now Le 30 août 2014 08:01, Mark Struberg strub...@yahoo.de a écrit : Hi! with the start of CDI-2.0 it would be much easier for users if our numbers are somehow in sync with the spec. What about renaming our current trunk to 1.5.0-SNAPSHOT? We did not do any release yet... LieGrue, strub
Re: rename owb-2.0 to owb-1.5?
+1 for that Am 30.08.14 09:01 schrieb Mark Struberg unter strub...@yahoo.de: Hi! with the start of CDI-2.0 it would be much easier for users if our numbers are somehow in sync with the spec. What about renaming our current trunk to 1.5.0-SNAPSHOT? We did not do any release yet... LieGrue, strub
Build failed in Jenkins: OpenWebBeans-trunk-deploy » Apache OpenWebBeans #150
See https://builds.apache.org/job/OpenWebBeans-trunk-deploy/org.apache.openwebbeans$openwebbeans/150/ -- maven-agent.jar already up to date classworlds.jar already up to date maven-interceptor.jar already up to date maven2.1-interceptor.jar already up to date ===[JENKINS REMOTING CAPACITY]=== channel started log4j:WARN No appenders could be found for logger (org.apache.commons.beanutils.converters.BooleanConverter). log4j:WARN Please initialize the log4j system properly. Executing Maven: -B -f https://builds.apache.org/job/OpenWebBeans-trunk-deploy/org.apache.openwebbeans$openwebbeans/ws/pom.xml -Dmaven.repo.local=/home/jenkins/jenkins-slave/maven-repositories/1 clean deploy [INFO] Scanning for projects... [INFO] Reactor build order: [INFO] Apache OpenWebBeans [INFO] SPI definition [INFO] OpenWebBeans Core [INFO] EE Common plugin [INFO] EL 2.2 plugin [INFO] Web plugin [INFO] EJB plugin [INFO] Java EE plugin [INFO] Tomcat 6 plugin [INFO] Tomcat 7 plugin [INFO] JMS plugin [INFO] JSF-2 plugin [INFO] EL 1.0 plugin [INFO] JSF 1.2 plugin [INFO] Clustering Plugin [INFO] EE Resource plugin [INFO] EE Resource plugin [INFO] OSGi plugin [INFO] TCK Porting Pkg [INFO] OWB Arquillian Parent [INFO] OpenWebBeans-Standalone Arquillian connector [INFO] OWB Samples [INFO] Sample Guess Application [INFO] JSF Conversation Sample [INFO] Sample JSF2 Application [INFO] Sample Hotel Reservation Application [INFO] Tomcat Sample [INFO] Tomcat 7 Sample [INFO] OpenWebBeans Java SE Sample [INFO] JSR-346 TCK runner [INFO] Distribution Pkg [INFO] Documentation [INFO] [INFO] Building Apache OpenWebBeans [INFO]task-segment: [clean, deploy] [INFO] [INFO] [clean:clean {execution: default-clean}] [INFO] [remote-resources:process {execution: default}] [INFO] [bundle:manifest {execution: bundle-manifest}] [WARNING] Ignoring project type pom - supportedProjectTypes = [jar, bundle, war] [INFO] [site:attach-descriptor {execution: default-attach-descriptor}] [INFO] Preparing source:jar [WARNING] Removing: jar from forked lifecycle, to prevent recursive invocation. [INFO] No goals needed for project - skipping [INFO] [source:jar {execution: default}] Downloading: http://repo1.maven.org/maven2/org/apache/openwebbeans/build-tools/checkstyle-rules/1.3/checkstyle-rules-1.3.pom 1K downloaded (checkstyle-rules-1.3.pom) Downloading: http://repo1.maven.org/maven2/org/apache/openwebbeans/build-tools/checkstyle-rules/1.3/checkstyle-rules-1.3.jar 9K downloaded (checkstyle-rules-1.3.jar) [INFO] [checkstyle:check {execution: verify-style}] [INFO] Starting audit... Audit done. [INFO] [apache-rat:check {execution: default}] [INFO] Exclude: **/*/MANIFEST.MF [INFO] Exclude: .git [INFO] Exclude: .gitignore [INFO] [install:install {execution: default-install}] [INFO] Installing https://builds.apache.org/job/OpenWebBeans-trunk-deploy/org.apache.openwebbeans$openwebbeans/ws/pom.xml to /home/jenkins/jenkins-slave/maven-repositories/1/org/apache/openwebbeans/openwebbeans/2.0.0-SNAPSHOT/openwebbeans-2.0.0-SNAPSHOT.pom [INFO] Installing https://builds.apache.org/job/OpenWebBeans-trunk-deploy/org.apache.openwebbeans$openwebbeans/ws/target/openwebbeans-2.0.0-SNAPSHOT-site.xml to /home/jenkins/jenkins-slave/maven-repositories/1/org/apache/openwebbeans/openwebbeans/2.0.0-SNAPSHOT/openwebbeans-2.0.0-SNAPSHOT-site.xml [INFO] [deploy:deploy {execution: default-deploy}] [INFO] Retrieving previous build number from apache.snapshots.https [INFO] [ERROR] BUILD ERROR [INFO] [INFO] Error retrieving previous build number for artifact 'org.apache.openwebbeans:openwebbeans:pom': repository metadata for: 'snapshot org.apache.openwebbeans:openwebbeans:2.0.0-SNAPSHOT' could not be retrieved from repository: apache.snapshots.https due to an error: Error transferring file: Server returned HTTP response code: 503 for URL: https://repository.apache.org/content/repositories/snapshots/org/apache/openwebbeans/openwebbeans/2.0.0-SNAPSHOT/maven-metadata.xml [INFO] [INFO] For more information, run Maven with the -e switch [INFO] [INFO] Total time: 22 seconds [INFO] Finished at: Sat Aug 30 08:41:09 UTC 2014 [INFO] Final Memory: 57M/394M [INFO]
Build failed in Jenkins: OpenWebBeans-trunk-deploy #150
See https://builds.apache.org/job/OpenWebBeans-trunk-deploy/150/changes Changes: [struberg] OWB-994 throw DefinitionException on wrong annotation during boot patch submitted by Reinhard Sandtner - txs! [struberg] OWB-993 using a Proxy for TypeVariable as the interface has changed in Java8 Have to do this as it is impossible to implement a TypeVariable which works with Java8 and Java7 at the same time -- [...truncated 2431 lines...] A webbeans-impl/src/main/java/org/apache/webbeans/portable/InjectionTargetImpl.java A webbeans-impl/src/main/java/org/apache/webbeans/portable/ConversationProducer.java AU webbeans-impl/src/main/java/org/apache/webbeans/portable/AnnotatedElementFactory.java A webbeans-impl/src/main/java/org/apache/webbeans/portable/AbstractDecoratorInjectionTarget.java A webbeans-impl/src/main/java/org/apache/webbeans/portable/ExtensionProducer.java AU webbeans-impl/src/main/java/org/apache/webbeans/portable/AbstractAnnotatedCallable.java A webbeans-impl/src/main/java/org/apache/webbeans/portable/events A webbeans-impl/src/main/java/org/apache/webbeans/portable/events/ProcessBeanAttributesImpl.java A webbeans-impl/src/main/java/org/apache/webbeans/portable/events/generics AU webbeans-impl/src/main/java/org/apache/webbeans/portable/events/generics/GenericBeanEvent.java AU webbeans-impl/src/main/java/org/apache/webbeans/portable/events/generics/GProcessAnnotatedType.java AU webbeans-impl/src/main/java/org/apache/webbeans/portable/events/generics/GProcessManagedBean.java AU webbeans-impl/src/main/java/org/apache/webbeans/portable/events/generics/GProcessProducer.java AU webbeans-impl/src/main/java/org/apache/webbeans/portable/events/generics/GProcessProducerMethod.java AU webbeans-impl/src/main/java/org/apache/webbeans/portable/events/generics/GenericProducerObserverEvent.java AU webbeans-impl/src/main/java/org/apache/webbeans/portable/events/generics/GProcessBean.java AU webbeans-impl/src/main/java/org/apache/webbeans/portable/events/generics/GProcessObservableMethod.java AU webbeans-impl/src/main/java/org/apache/webbeans/portable/events/generics/GProcessProducerField.java AU webbeans-impl/src/main/java/org/apache/webbeans/portable/events/generics/GProcessInjectionTarget.java AU webbeans-impl/src/main/java/org/apache/webbeans/portable/events/generics/GProcessSessionBean.java AU webbeans-impl/src/main/java/org/apache/webbeans/portable/events/generics/GProcessSyntheticAnnotatedType.java A webbeans-impl/src/main/java/org/apache/webbeans/portable/events/generics/GProcessBeanAttributes.java AU webbeans-impl/src/main/java/org/apache/webbeans/portable/events/ProcessAnnotatedTypeImpl.java AU webbeans-impl/src/main/java/org/apache/webbeans/portable/events/ExtensionLoader.java AU webbeans-impl/src/main/java/org/apache/webbeans/portable/events/ProcessManagedBeanImpl.java AU webbeans-impl/src/main/java/org/apache/webbeans/portable/events/ProcessProducerImpl.java AU webbeans-impl/src/main/java/org/apache/webbeans/portable/events/ProcessProducerMethodImpl.java AU webbeans-impl/src/main/java/org/apache/webbeans/portable/events/ProcessBeanImpl.java A webbeans-impl/src/main/java/org/apache/webbeans/portable/events/discovery A webbeans-impl/src/main/java/org/apache/webbeans/portable/events/discovery/ExtensionAware.java A webbeans-impl/src/main/java/org/apache/webbeans/portable/events/discovery/AfterTypeDiscoveryImpl.java AU webbeans-impl/src/main/java/org/apache/webbeans/portable/events/discovery/AfterDeploymentValidationImpl.java AU webbeans-impl/src/main/java/org/apache/webbeans/portable/events/discovery/ErrorStack.java AU webbeans-impl/src/main/java/org/apache/webbeans/portable/events/discovery/BeforeShutdownImpl.java AU webbeans-impl/src/main/java/org/apache/webbeans/portable/events/discovery/AfterBeanDiscoveryImpl.java AU webbeans-impl/src/main/java/org/apache/webbeans/portable/events/discovery/BeforeBeanDiscoveryImpl.java AU webbeans-impl/src/main/java/org/apache/webbeans/portable/events/ProcessProducerFieldImpl.java AU webbeans-impl/src/main/java/org/apache/webbeans/portable/events/ProcessObserverMethodImpl.java AU webbeans-impl/src/main/java/org/apache/webbeans/portable/events/ProcessInjectionTargetImpl.java AU webbeans-impl/src/main/java/org/apache/webbeans/portable/events/ProcessSessionBeanImpl.java AU webbeans-impl/src/main/java/org/apache/webbeans/portable/events/ProcessSyntheticAnnotatedTypeImpl.java A webbeans-impl/src/main/java/org/apache/webbeans/portable/creation A webbeans-impl/src/main/java/org/apache/webbeans/portable/MetadataProducer.java A
Re: rename owb-2.0 to owb-1.5?
What's the tomcat way? Disregard sync? On 30 August 2014 10:26, Arne Limburg arne.limb...@openknowledge.de wrote: +1 for that Am 30.08.14 09:01 schrieb Mark Struberg unter strub...@yahoo.de: Hi! with the start of CDI-2.0 it would be much easier for users if our numbers are somehow in sync with the spec. What about renaming our current trunk to 1.5.0-SNAPSHOT? We did not do any release yet... LieGrue, strub
Re: rename owb-2.0 to owb-1.5?
@mark: +1 (that's what we are doing in myfaces as well and it's way easier for users) @romain: i know what you mean, but we can keep it in sync with v2+ regards, gerhard 2014-08-30 10:26 GMT+02:00 Arne Limburg arne.limb...@openknowledge.de: +1 for that Am 30.08.14 09:01 schrieb Mark Struberg unter strub...@yahoo.de: Hi! with the start of CDI-2.0 it would be much easier for users if our numbers are somehow in sync with the spec. What about renaming our current trunk to 1.5.0-SNAPSHOT? We did not do any release yet... LieGrue, strub
Re: rename owb-2.0 to owb-1.5?
+1 This is not because we did not do it that we can not try to do better. From a user point of view I also think it's easier Le 30 août 2014 09:01, Mark Struberg strub...@yahoo.de a écrit : Hi! with the start of CDI-2.0 it would be much easier for users if our numbers are somehow in sync with the spec. What about renaming our current trunk to 1.5.0-SNAPSHOT? We did not do any release yet... LieGrue, strub
Re: rename owb-2.0 to owb-1.5?
On Sat, Aug 30, 2014 at 3:01 AM, Mark Struberg strub...@yahoo.de wrote: What about renaming our current trunk to 1.5.0-SNAPSHOT? +1, awfully confusing w/o it. -- Eric Covener cove...@gmail.com
Re: rename owb-2.0 to owb-1.5?
tomcat does +1 on all major for each spec release (2.5 - 6, 3.0 - 7, 3.1 - 8...) I don't like 1.5 cause it doesn't make any sense but I don't care enough about version to fight for it. Seems it passed Mark ;) Romain Manni-Bucau Twitter: @rmannibucau Blog: http://rmannibucau.wordpress.com/ LinkedIn: http://fr.linkedin.com/in/rmannibucau Github: https://github.com/rmannibucau 2014-08-30 14:20 GMT+02:00 Eric Covener cove...@gmail.com: On Sat, Aug 30, 2014 at 3:01 AM, Mark Struberg strub...@yahoo.de wrote: What about renaming our current trunk to 1.5.0-SNAPSHOT? +1, awfully confusing w/o it. -- Eric Covener cove...@gmail.com
Re: rename owb-2.0 to owb-1.5?
+1 for 2.0 for CDI 2.0 don't know about 1.5... 2014-08-30 16:16 GMT+02:00 Romain Manni-Bucau rmannibu...@gmail.com: tomcat does +1 on all major for each spec release (2.5 - 6, 3.0 - 7, 3.1 - 8...) I don't like 1.5 cause it doesn't make any sense but I don't care enough about version to fight for it. Seems it passed Mark ;) Romain Manni-Bucau Twitter: @rmannibucau Blog: http://rmannibucau.wordpress.com/ LinkedIn: http://fr.linkedin.com/in/rmannibucau Github: https://github.com/rmannibucau 2014-08-30 14:20 GMT+02:00 Eric Covener cove...@gmail.com: On Sat, Aug 30, 2014 at 3:01 AM, Mark Struberg strub...@yahoo.de wrote: What about renaming our current trunk to 1.5.0-SNAPSHOT? +1, awfully confusing w/o it. -- Eric Covener cove...@gmail.com