[arquillian-issues] [JBoss JIRA] Resolved: (ARQ-161) Weld Extension doesn't fire ProcessAnnotatedType when importDirecyory is used.
Aslak Knutsen (JIRA)
jira-events at lists.jboss.org
Sun Jul 18 10:34:52 EDT 2010
[ https://jira.jboss.org/browse/ARQ-161?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Aslak Knutsen resolved ARQ-161.
-------------------------------
Resolution: Done
> 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: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the arquillian-issues
mailing list