]
Aslak Knutsen reassigned ARQ-161:
---------------------------------
Assignee: Aslak Knutsen
Weld Extension doesn't fire ProcessAnnotatedType when
importDirecyory is used.
------------------------------------------------------------------------------
Key: ARQ-161
URL:
https://jira.jboss.org/browse/ARQ-161
Project: Arquillian
Issue Type: Bug
Affects Versions: 1.0.0.Alpha2
Reporter: alberto Gori
Assignee: Aslak Knutsen
Fix For: 1.0.0.Alpha3
The deployment code is this:
Archive<?> archive = ShrinkWrap.create("test.jar", JavaArchive.class);
archive.as(ExplodedImporter.class).importDirectory("target/classes");
archive.as(ExplodedImporter.class).importDirectory("target/test-classes");
If I pack classes using this technique, then my CDI Extension doesn't fire the
ProcessAnnotatedType for classes that are not my test class.
On IRC aslak commented the following:
"it's due to a 'hack' in the WeldEmbedded deployer, it assumes it will
get a Archive with ClassAssets.. but when you do import, it wil be FileAssets, so they are
ignored"
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: