...and by WeldExtension I meant DeltaSpikeContextExtension :)
My point is basically what Gerhard just wrote.
On 21.2.2014 13:42, Ron Smeral wrote:
Reading the stacktrace, I see the WeldExtension which is a part of
deltaspike-core-impl can't find the WindowBeanHolder bean. That is
however expected, because the bean is not a part of the deployment.
If you try making your deployment a WAR with a test jar and add the
deltaspike core archive as a library, as it is in other tests, it works.
I'm not sure why the extension gets picked up even when the deltaspike
core archive is not a part of the deployment, but I guess it has
something to do with the way the Embedded Weld Arqullian container
works, and that DS is on the classpath.
I wouldn't consider this a problem of the DS testsuite, the reproducer
doesn't seem like a real example as it doesn't bundle DS anyway.
Also, it surely isn't related to Weld or DS version, I tried
combinations of DS 0.5 / 0.6 and Weld 2.1 / 2.2 / 1.1 and it all
behaved the same.
Regards,
Ron
On 21.2.2014 13:16, Ove Ranheim wrote:
I've double checked my configuration in poms over again and cannot find
anything wrong.
If I disable DS-dependencies for deltaspike-core-api
and deltaspike-core-impl (ds-weld-test-helloworld pom), it works like a
charm. When they are enabled, the error re-occurs. If something is wrong
with my arquillian configuration, I suppose the weld-profile wouldn't
work
at all. But it does using weld-only.
Do you have some more leads for me that I could go after?
Btw, I posted this message on the Arquillian forum:
https://community.jboss.org/thread/237358
2014-02-21 10:59 GMT+01:00 Gerhard Petracek
<gerhard.petra...@gmail.com>:
hi ove,
the project you provided shows an arquillian config-issue.
please check the setup again and/or contact the arquillian community.
regards,
gerhard
2014-02-20 23:01 GMT+01:00 Ove Ranheim <oranh...@gmail.com>:
Hi Gerhard,
I did run the test suite in DS and all test cases runs fine with
-PWeld
-Dweld.version=2.1.2.Final !
However, when I run my (simple) test case, it fails. So in order to
nail
out the problem, I made a test case. Would you be able to have a
look at:
https://github.com/oranheim/ds-weld-test
I also compared the dependency graph for my own test project with
"core/impl"-module and they are 100% equal.
Cheers,
Ove
On 20 Feb 2014, at 12:45, Gerhard Petracek
<gerhard.petra...@gmail.com>
wrote:
hi ove,
please have a look at [1].
regards,
gerhard
[1] http://deltaspike.apache.org/source.html#scm-repository
http://www.irian.at
Your JSF/JavaEE powerhouse -
JavaEE Consulting, Development and
Courses in English and German
Professional Support for Apache MyFaces
2014-02-20 11:51 GMT+01:00 Ove Ranheim <oranh...@gmail.com>:
The test case is successful in Jenkins. I checkout latest sources
from
GitHub and re-run my test.
I still get the same error. Is GitHub in sync with Apache Git?
--
Ron Smeral
JBoss Quality Engineer
Brno