[webbeans-dev] wb-ri-int & idea
by Ales Justin
WRT webbeans-ri-trunk
My IntelliJ IDEA outlook looks broken.
Looking at the WebBeansBootstrapDeployer it cannot link to parts of
JBoss Deployers,
although they are in the Libraries.
Anyone using IDEA and seeing the same problems after re-running "mvn
idea:idea"?
btw: Pete, why is deployers module depending on ejb module (in pom.xml)?
deployer shouldn't depend on anything, as it runtime delegates things.
15 years, 7 months
[webbeans-dev] jdk6 features creeping in
by Ales Justin
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Compilation failure
C:\projects\web-beans\ri\tests\src\test\java\org\jboss\webbeans\test\unit\xml\javaeepkg\foo\Order.java:[14,17]
cannot find symbol
symbol : class CommonDataSource
location: package javax.sql
C:\projects\web-beans\ri\tests\src\test\java\org\jboss\webbeans\test\unit\xml\javaeepkg\foo\Order.java:[31,44]
cannot find symbol
symbol : class CommonDataSource
location: class org.jboss.webbeans.test.unit.xml.javaeepkg.foo.Order
C:\projects\web-beans\ri\tests\src\test\java\org\jboss\jsr299\tck\tests\implementation\enterprise\lifecycle\EnterpriseBeanLifecycleTest.java:[64,33]
cannot find symbol
symbol : constructor HashSet(java.util.List<java.lang.Class>)
location: class java.util.HashSet<java.lang.Class<?>>
15 years, 7 months
[webbeans-dev] Context.get with mismatched scopes
by David Allen
Hi Gavin,
I was just writing some tests and realized the spec in section 8.1 does
not clearly state what happens if I use a context from one scope and a
bean from a different scope. Should this be a runtime exception?
Example:
@Dependent
public class MyBean {}
...
Bean myBean = manager.resolveByType(MyBean.class).iterator().next();
MyBean myBeanInstance =
manager.getContext(SessionScoped.class).get(myBean);
-------------
David Allen
david.allen(a)acm.org
15 years, 7 months